summaryrefslogtreecommitdiff
path: root/src/dlg-prop.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-19 17:17:55 +0100
committerinfirit <[email protected]>2014-11-19 19:36:03 +0100
commitaaf22127f31f9613d750c73565771f425b1e6cce (patch)
tree1d0230d21e8e6a9e5b8307aeac43384e4ca10de6 /src/dlg-prop.c
parent797489947df52775704e169cf029dc4d6f36c6aa (diff)
downloadengrampa-aaf22127f31f9613d750c73565771f425b1e6cce.tar.bz2
engrampa-aaf22127f31f9613d750c73565771f425b1e6cce.tar.xz
Drop compat code for Glib < 2.32
Diffstat (limited to 'src/dlg-prop.c')
-rw-r--r--src/dlg-prop.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/dlg-prop.c b/src/dlg-prop.c
index 94af615..3a2529a 100644
--- a/src/dlg-prop.c
+++ b/src/dlg-prop.c
@@ -145,11 +145,7 @@ dlg_prop (FrWindow *window)
label = _gtk_builder_get_widget (data->builder, "p_size_label");
size = get_file_size (fr_window_get_archive_uri (window));
-#if GLIB_CHECK_VERSION (2, 30, 0)
s = g_format_size (size);
-#else
- s = g_format_size_for_display (size);
-#endif
gtk_label_set_text (GTK_LABEL (label), s);
g_free (s);
@@ -169,11 +165,7 @@ dlg_prop (FrWindow *window)
}
label = _gtk_builder_get_widget (data->builder, "p_uncomp_size_label");
-#if GLIB_CHECK_VERSION (2, 30, 0)
s = g_format_size (uncompressed_size);
-#else
- s = g_format_size_for_display (uncompressed_size);
-#endif
gtk_label_set_text (GTK_LABEL (label), s);
g_free (s);