]> git.pld-linux.org Git - packages/sound-juicer.git/commitdiff
- http://bugzilla.gnome.org/show_bug.cgi?id=317999
authorfreetz <freetz@pld-linux.org>
Wed, 19 Oct 2005 17:08:55 +0000 (17:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sound-juicer-crash.patch -> 1.1

sound-juicer-crash.patch [new file with mode: 0644]

diff --git a/sound-juicer-crash.patch b/sound-juicer-crash.patch
new file mode 100644 (file)
index 0000000..cd23cd7
--- /dev/null
@@ -0,0 +1,21 @@
+--- src/sj-prefs.c     30 Jun 2005 19:42:13 -0000      1.43
++++ src/sj-prefs.c     8 Oct 2005 07:25:21 -0000
+@@ -241,7 +241,7 @@
+    * prefs window from the main is ugly. Maybe put the validation code
+    * into sj-utils?
+    */
+-  const char* base_uri;
++  const char* base_uri, *uri;
+   g_return_if_fail (strcmp (entry->key, GCONF_BASEURI) == 0);
+   if (entry->value == NULL) {
+@@ -249,7 +249,8 @@
+   } else {
+     g_return_if_fail (entry->value->type == GCONF_VALUE_STRING);
+     base_uri = gconf_value_get_string (entry->value);
+-    if (strcmp (gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (basepath_fcb)), base_uri) != 0) { 
++    uri = gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (basepath_fcb));
++    if (uri == NULL || strcmp (uri, base_uri) != 0) { 
+       gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (basepath_fcb), base_uri);
+     }
+   }
This page took 0.122183 seconds and 4 git commands to generate.