reassign 390231 libgtk2.0-0 2.10.1-1
forwarded 390231 http://bugzilla.gnome.org/show_bug.cgi?id=358405
tags 390231 + confirmed upstream fixed-upstream patch experimental pending
stop

On Fri, Sep 29, 2006, Sam Morris wrote:
> sound-juicer segfaults when I choose the Edit -> Preferences menu item.

 This is a bug in Gtk, patch attached.

-- 
Loïc Minier <[EMAIL PROTECTED]>
Index: gtk+2.0-2.10.4/gtk/gtkfilechooserbutton.c
===================================================================
--- gtk+2.0-2.10.4.orig/gtk/gtkfilechooserbutton.c      2006-09-30 
20:03:11.000000000 +0200
+++ gtk+2.0-2.10.4/gtk/gtkfilechooserbutton.c   2006-09-30 20:03:15.000000000 
+0200
@@ -2207,10 +2207,13 @@
            GtkFilePath *base_path;
 
            base_path = gtk_file_system_volume_get_base_path (priv->fs, data);
-           row_found = (paths &&
-                        paths->data &&
-                        gtk_file_path_compare (base_path, paths->data) == 0);
-           gtk_file_path_free (base_path);
+            if (base_path)
+              {
+               row_found = (paths &&
+                            paths->data &&
+                            gtk_file_path_compare (base_path, paths->data) == 
0);
+               gtk_file_path_free (base_path);
+              }
          }
          break;
        default:

Reply via email to