[sound-juicer] Remove unneeded GLib version test
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Remove unneeded GLib version test
- Date: Fri, 5 Sep 2014 10:08:10 +0000 (UTC)
commit b34b8a63a154bec4ccbf56881aede782e335cd21
Author: Phillip Wood <phillip wood dunelm org uk>
Date: Tue Sep 2 11:25:03 2014 +0100
Remove unneeded GLib version test
Now we require GLib 2.38 there is no need to test for older versions.
https://bugzilla.gnome.org/show_bug.cgi?id=736026
src/sj-extracting.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/sj-extracting.c b/src/sj-extracting.c
index 2aca602..e8285c3 100644
--- a/src/sj-extracting.c
+++ b/src/sj-extracting.c
@@ -302,11 +302,7 @@ confirm_overwrite_existing_file (GFile *uri, int *overwrite_mode, goffset info_s
char *display_name, *filename, *size;
display_name = g_file_get_parse_name (uri);
-#if GLIB_CHECK_VERSION(2,30,0)
size = g_format_size (info_size);
-#else
- size = g_format_size_for_display(info_size);
-#endif
dialog = gtk_message_dialog_new (GTK_WINDOW (main_window), GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_NONE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]