forked from AuroraMiddleware/gtk
Don't try to filter if impl->current_filter is NULL. (#161329, R.
2004-12-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't try to filter if impl->current_filter is NULL. (#161329, R. McFarland)
This commit is contained in:
parent
9f558a1540
commit
43f8526198
@ -1,3 +1,9 @@
|
||||
2004-12-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't
|
||||
try to filter if impl->current_filter is NULL. (#161329,
|
||||
R. McFarland)
|
||||
|
||||
2004-12-14 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-4:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't
|
||||
try to filter if impl->current_filter is NULL. (#161329,
|
||||
R. McFarland)
|
||||
|
||||
2004-12-14 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-4:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't
|
||||
try to filter if impl->current_filter is NULL. (#161329,
|
||||
R. McFarland)
|
||||
|
||||
2004-12-14 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-4:
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't
|
||||
try to filter if impl->current_filter is NULL. (#161329,
|
||||
R. McFarland)
|
||||
|
||||
2004-12-14 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-4:
|
||||
|
@ -4004,6 +4004,9 @@ get_is_file_filtered (GtkFileChooserDefault *impl,
|
||||
GtkFileFilterFlags needed;
|
||||
gboolean result;
|
||||
|
||||
if (!impl->current_filter)
|
||||
return FALSE;
|
||||
|
||||
filter_info.contains = GTK_FILE_FILTER_DISPLAY_NAME | GTK_FILE_FILTER_MIME_TYPE;
|
||||
|
||||
needed = gtk_file_filter_get_needed (impl->current_filter);
|
||||
|
Loading…
Reference in New Issue
Block a user