diff options
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -95,25 +95,3 @@ void zoom(int type) update_pixbuf(); } - -void print_supported_formats() -{ - GSList *list, *it; - GdkPixbufFormat *format; - gchar **extensions; - gchar *ex; - - list = gdk_pixbuf_get_formats(); - if (list != NULL) { - for (it = list; it->next != NULL; it = it->next) { - format = (GdkPixbufFormat *)it->data; - printf("%s:", gdk_pixbuf_format_get_description(format)); - extensions = gdk_pixbuf_format_get_extensions(format); - for (ex = *extensions; *ex; ex++) { - printf(" %s", ex); - } - printf("\n"); - } - g_slist_free(list); - } -} |