diff options
author | Elias Aebi <[email protected]> | 2013-02-04 11:32:27 +0100 |
---|---|---|
committer | Elias Aebi <[email protected]> | 2013-02-04 11:32:27 +0100 |
commit | d9088cc4f3e2f7f6b77033b813c559bb6cf3f04f (patch) | |
tree | 0d315557729c25eb06a2d2192a1cbb7d3202b3d3 /src/eom-thumb-view.c | |
parent | 2369d535fd8e960ffcc7bbf464c6d5722abd3b26 (diff) | |
download | eom-d9088cc4f3e2f7f6b77033b813c559bb6cf3f04f.tar.bz2 eom-d9088cc4f3e2f7f6b77033b813c559bb6cf3f04f.tar.xz |
replace some deprecated code
Diffstat (limited to 'src/eom-thumb-view.c')
-rw-r--r-- | src/eom-thumb-view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eom-thumb-view.c b/src/eom-thumb-view.c index 3375332..9c1a30e 100644 --- a/src/eom-thumb-view.c +++ b/src/eom-thumb-view.c @@ -345,7 +345,11 @@ thumbview_get_tooltip_string (EomImage *image) ExifData *exif_data; #endif +#if GLIB_CHECK_VERSION (2, 30, 0) + bytes = g_format_size (eom_image_get_bytes (image)); +#else bytes = g_format_size_for_display (eom_image_get_bytes (image)); +#endif eom_image_get_size (image, &width, &height); |