In the case for FILTER_RULE_PIXBUF_FORMATS, check that
2005-12-27 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is not NULL. Fixes bug #317687.
This commit is contained in:
parent
1963c67c46
commit
e72cea090d
@ -1,3 +1,9 @@
|
||||
2005-12-27 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
|
||||
FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
|
||||
not NULL. Fixes bug #317687.
|
||||
|
||||
2005-12-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-12-27 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
|
||||
FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
|
||||
not NULL. Fixes bug #317687.
|
||||
|
||||
2005-12-27 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
|
||||
|
@ -190,6 +190,7 @@
|
||||
<!ENTITY gtk-Changes-1-2 SYSTEM "changes-1.2.sgml">
|
||||
<!ENTITY gtk-Changes-2-0 SYSTEM "changes-2.0.sgml">
|
||||
<!ENTITY gtk-migrating-checklist SYSTEM "xml/migrating-checklist.sgml">
|
||||
<!ENTITY gtk-migrating-Cairo SYSTEM "xml/migrating-Cairo.sgml">
|
||||
<!ENTITY gtk-migrating-GtkFileChooser SYSTEM "xml/migrating-GtkFileChooser.sgml">
|
||||
<!ENTITY gtk-migrating-GtkAction SYSTEM "xml/migrating-GtkAction.sgml">
|
||||
<!ENTITY gtk-migrating-GtkComboBox SYSTEM "xml/migrating-GtkComboBox.sgml">
|
||||
|
@ -426,6 +426,9 @@ gtk_file_filter_filter (GtkFileFilter *filter,
|
||||
{
|
||||
GSList *list;
|
||||
|
||||
if (!filter_info->mime_type)
|
||||
break;
|
||||
|
||||
for (list = rule->u.pixbuf_formats; list; list = list->next)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user