[gdl/gnome-3-0] Remove deprecated method. Fixes bug #649259



commit e8a6a9273232b5847524d80dffd7819f5ac48dc2
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue May 3 11:50:59 2011 +0200

    Remove deprecated method. Fixes bug #649259

 gdl/gdl-dock.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gdl/gdl-dock.c b/gdl/gdl-dock.c
index 8bad1d7..17d1dca 100644
--- a/gdl/gdl-dock.c
+++ b/gdl/gdl-dock.c
@@ -431,11 +431,8 @@ gdl_dock_get_property  (GObject      *object,
                 g_object_get (GDL_DOCK_OBJECT (object)->master,
                               "default-title", &default_title,
                               NULL);
-#if GLIB_CHECK_VERSION(2,3,0)
+
                 g_value_take_string (value, default_title);
-#else
-                g_value_set_string_take_ownership (value, default_title);
-#endif
             }
             else
                 g_value_set_string (value, NULL);



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