diff options
Diffstat (limited to 'shell/ev-utils.c')
-rw-r--r-- | shell/ev-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ev-utils.c b/shell/ev-utils.c index ebfca1ec..7c7aa845 100644 --- a/shell/ev-utils.c +++ b/shell/ev-utils.c @@ -26,14 +26,14 @@ #include <string.h> #include <glib/gi18n.h> -void +void file_chooser_dialog_add_writable_pixbuf_formats (GtkFileChooser *chooser) { GSList *pixbuf_formats = NULL; GSList *iter; GtkFileFilter *filter; int i; - + filter = gtk_file_filter_new(); gtk_file_filter_set_name (filter, _("By extension")); g_object_set_data (G_OBJECT(filter), "pixbuf-format", NULL); @@ -87,7 +87,7 @@ get_gdk_pixbuf_format_by_extension (gchar *uri) for (iter = pixbuf_formats; iter; iter = iter->next) { gchar **extension_list; GdkPixbufFormat *format = iter->data; - + if (gdk_pixbuf_format_is_disabled (format) || !gdk_pixbuf_format_is_writable (format)) continue; |