changeset 630:8ece70f53d83

Cleanify.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Sep 2007 04:08:02 +0000
parents ce1fe59627f2
children eafcd84a8c59
files src/xmms-sid.h src/xs_about.c
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmms-sid.h	Mon Sep 03 04:08:00 2007 +0000
+++ b/src/xmms-sid.h	Mon Sep 03 04:08:02 2007 +0000
@@ -64,6 +64,7 @@
 
 /* Configuration section identifier
  */
+#define XS_PACKAGE_STRING	PACKAGE_STRING
 #define XS_CONFIG_IDENT		"XMMS-SID"
 
 /* Default audio rendering frequency in Hz
--- a/src/xs_about.c	Mon Sep 03 04:08:00 2007 +0000
+++ b/src/xs_about.c	Mon Sep 03 04:08:02 2007 +0000
@@ -80,7 +80,7 @@
 	xs_aboutwin = gtk_window_new(GTK_WINDOW_DIALOG);
 	gtk_widget_set_name(xs_aboutwin, "xs_aboutwin");
 	gtk_object_set_data(GTK_OBJECT(xs_aboutwin), "xs_aboutwin", xs_aboutwin);
-	g_snprintf(tmpStr, sizeof(tmpStr), _("About %s"), PACKAGE_STRING);
+	g_snprintf(tmpStr, sizeof(tmpStr), _("About %s"), XS_PACKAGE_STRING);
 	gtk_window_set_title(GTK_WINDOW(xs_aboutwin), tmpStr);
 	gtk_window_set_default_size(GTK_WINDOW(xs_aboutwin), 350, -1);
 
@@ -176,9 +176,8 @@
 			"\t(C) Copyright 1998 Scallop\n"
 			"\t(Refer to README for license)\n" "\n"
 #endif
-			"Original XMMS-SID (v0.4) by\n" "\tWillem Monsuwe\n" "\n", -1);
+			"Original XMMS-SID (v0.4) by\n" "\tWillem Monsuwe\n" "\n"
 
-	gtk_text_insert(GTK_TEXT(about_text), NULL, NULL, NULL,
 			"Greetings fly out to ...\n"
 			"\tEveryone at #Linux.Fi, #Fireball,\n"
 			"\t#TNSP and #c-64 of IRCNet, #xmms\n"
@@ -188,9 +187,8 @@
 			"\tmfx, Unique, Fairlight, iSO,\n"
 			"\tWrath Designs, Padua, Extend,\n"
 			"\tPHn, Creators, Cosine, tAAt,\n"
-			"\tViruz, Crest and Skalaria.\n" "\n", -1);
+			"\tViruz, Crest and Skalaria.\n" "\n"
 
-	gtk_text_insert(GTK_TEXT(about_text), NULL, NULL, NULL,
 			"Special thanks\n"
 			"\tGerfried 'Alfie' Fuchs\n"
 			"\tAndreas 'mrsid' Varga\n"