changeset 2467:af0518a11dbf trunk

[svn] - more tweaks
author nenolod
date Thu, 01 Feb 2007 11:11:52 -0800
parents 57cdc3d9b056
children 5206f4ef02f7
files ChangeLog src/audacious/ui_preferences.c
diffstat 2 files changed, 14 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Feb 01 11:10:10 2007 -0800
+++ b/ChangeLog	Thu Feb 01 11:11:52 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-01 19:10:10 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [3942]
+  - ui adjustment
+  
+  trunk/src/audacious/ui_preferences.c |   12 ++----------
+  1 file changed, 2 insertions(+), 10 deletions(-)
+
+
 2007-02-01 19:06:26 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [3940]
   - remove build-stamp autogen crap from Makefile
--- a/src/audacious/ui_preferences.c	Thu Feb 01 11:10:10 2007 -0800
+++ b/src/audacious/ui_preferences.c	Thu Feb 01 11:11:52 2007 -0800
@@ -2339,7 +2339,7 @@
 
     GladeXML *xml;
     GtkWidget *widget, *widget2;
-    GString *aud_version_string;
+    gchar *aud_version_string;
 
     GtkWidget *titlestring_tag_menu, *menu_item;
     guint i;
@@ -2539,13 +2539,13 @@
 
    /* audacious version label */
    widget = glade_xml_get_widget(xml, "audversionlabel");
-   aud_version_string = g_string_new( "" );
-
-   g_string_printf( aud_version_string , "<span size='small'>%s (r%s) (%s@%s)</span>" , "Audacious " PACKAGE_VERSION ,
+
+   aud_version_string = g_strdup_printf("<span size='small'>%s (r%s) (%s@%s)</span>",
+		    "Audacious " PACKAGE_VERSION ,
                     svn_stamp , g_get_user_name() , g_get_host_name() );
 
-   gtk_label_set_markup( GTK_LABEL(widget) , aud_version_string->str );
-   g_string_free( aud_version_string , TRUE );
+   gtk_label_set_markup( GTK_LABEL(widget) , aud_version_string );
+   g_free(aud_version_string);
 
 	/* Create window for filepopup settings */
 	filepopup_settings = glade_xml_get_widget(xml, "filepopup_for_tuple_settings");