summaryrefslogtreecommitdiff
path: root/src/eom-file-chooser.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 16:09:07 +0200
committerinfirit <[email protected]>2014-07-24 18:05:54 +0200
commit5115e68d942f1bdae0729841ae420de1a5c61840 (patch)
tree9d22318de75b05df6231246ca1f62e6a9f506fc6 /src/eom-file-chooser.c
parentd69408760eaa86d0532068c66c92847f2c12379c (diff)
downloadeom-5115e68d942f1bdae0729841ae420de1a5c61840.tar.bz2
eom-5115e68d942f1bdae0729841ae420de1a5c61840.tar.xz
Drop support for glib < 2.36
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 */