summaryrefslogtreecommitdiff
path: root/src/eom-file-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-file-chooser.c')
-rw-r--r--src/eom-file-chooser.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/eom-file-chooser.c b/src/eom-file-chooser.c
index 9189f55..7d5dda6 100644
--- a/src/eom-file-chooser.c
+++ b/src/eom-file-chooser.c
@@ -271,18 +271,10 @@ set_preview_pixbuf (EomFileChooser *chooser, GdkPixbuf *pixbuf, goffset size)
bytes_str = gdk_pixbuf_get_option (pixbuf, "tEXt::Thumb::Size");
if (bytes_str != NULL) {
bytes = atoi (bytes_str);
-#if GLIB_CHECK_VERSION (2, 30, 0)
size_str = g_format_size (bytes);
-#else
- size_str = g_format_size_for_display (bytes);
-#endif
}
else {
-#if GLIB_CHECK_VERSION (2, 30, 0)
size_str = g_format_size (size);
-#else
- size_str = g_format_size_for_display (size);
-#endif
}
/* try to read image dimensions */