changeset 2654:6364a4534889 trunk

[svn] - fixed c++ish declaration in a c file
author giacomo
date Sat, 07 Apr 2007 04:36:14 -0700
parents b5a612371920
children 46278877a39b
files ChangeLog src/audacious/build_stamp.c src/audacious/widgets/skin.c
diffstat 3 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Apr 05 17:16:09 2007 -0700
+++ b/ChangeLog	Sat Apr 07 04:36:14 2007 -0700
@@ -1,3 +1,11 @@
+2007-04-06 00:16:09 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4332]
+  - fix crashes related to alt+click enqueue
+  
+  trunk/src/audacious/ui_playlist.c |   16 +++++++++++-----
+  1 file changed, 11 insertions(+), 5 deletions(-)
+
+
 2007-04-06 00:01:26 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4330]
   - fix alt+click enqueue. this is more like vincent ratier's original patch except that it's C90-capable for freebsd 4.
--- a/src/audacious/build_stamp.c	Thu Apr 05 17:16:09 2007 -0700
+++ b/src/audacious/build_stamp.c	Sat Apr 07 04:36:14 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070406-4330";
+const gchar *svn_stamp = "20070406-4332";
--- a/src/audacious/widgets/skin.c	Thu Apr 05 17:16:09 2007 -0700
+++ b/src/audacious/widgets/skin.c	Sat Apr 07 04:36:14 2007 -0700
@@ -1392,6 +1392,8 @@
 {
     GdkPixmap *text_pm;
     guint i;
+    gchar *filename;
+    INIFile *inifile;
 
     for (i = 0; i < SKIN_PIXMAP_COUNT; i++)
         skin_load_pixmap_id(skin, i, path);
@@ -1406,8 +1408,8 @@
         skin_numbers_generate_dash(skin);
 #endif
 
-    gchar *filename = find_file_recursively(path, "pledit.txt");
-    INIFile *inifile = open_ini_file(filename);
+    filename = find_file_recursively(path, "pledit.txt");
+    inifile = open_ini_file(filename);
 
     skin->colors[SKIN_PLEDIT_NORMAL] =
         skin_load_color(inifile, "Text", "Normal", "#2499ff");