[eog] Remove pre-GLib-2.25.8 compatibility code



commit 643d8f405a2cfcb2a7fae702591aab7b3077a209
Author: Felix Riemann <friemann gnome org>
Date:   Wed Jun 23 23:06:47 2010 +0200

    Remove pre-GLib-2.25.8 compatibility code
    
    We depend on 2.25.9 now so these won't be needed any longer.

 src/eog-plugin-engine.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/eog-plugin-engine.c b/src/eog-plugin-engine.c
index 8e5f957..528dcb6 100644
--- a/src/eog-plugin-engine.c
+++ b/src/eog-plugin-engine.c
@@ -383,13 +383,8 @@ _eog_settings_get_list (GSettings   *settings,
 	g_return_val_if_fail (G_IS_SETTINGS (settings), NULL);
 	g_return_val_if_fail (key != NULL, NULL);
 
-// Workaround until glib-2.25.8 is officially out
-#if (GLIB_CHECK_VERSION (2, 25, 8))
 	values = g_settings_get_strv (settings, key);
 	len = g_strv_length (values);
-#else
-	values = g_settings_get_strv (settings, key, &len);
-#endif
 	i = 0;
 
 	while (i < len)
@@ -423,12 +418,7 @@ _eog_settings_set_list (GSettings    *settings,
 		values[i] = l->data;
 	}
 
-// Workaround until glib-2.25.8 is officially out
-#if (GLIB_CHECK_VERSION (2, 25, 8))
 	g_settings_set_strv (settings, key, (const gchar * const *)values);
-#else
-	g_settings_set_strv (settings, key, (const gchar * const *)values, len);
-#endif
 	g_free (values);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]