aboutsummaryrefslogtreecommitdiff
path: root/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'image.c')
-rw-r--r--image.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/image.c b/image.c
index 1e8874b..d4765fd 100644
--- a/image.c
+++ b/image.c
@@ -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);
- }
-}