From 5115e68d942f1bdae0729841ae420de1a5c61840 Mon Sep 17 00:00:00 2001 From: infirit Date: Sat, 17 May 2014 16:09:07 +0200 Subject: Drop support for glib < 2.36 --- src/eom-file-chooser.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/eom-file-chooser.c') 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 */ -- cgit v1.2.1