[gdl] Remove deprecated method. Fixes bug #649259
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdl] Remove deprecated method. Fixes bug #649259
- Date: Tue, 3 May 2011 10:09:55 +0000 (UTC)
commit 1fcd4fab9f8f81c6d14cf98387e22f21d5ed41d5
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]