From 519c5cbab794b898ad4530dde62585868d361334 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 13 Sep 2003 08:29:25 +0000 Subject: Exchange the newly-deprecated g_value_set_object_take_ownership() with 2003-09-13 Christian Persch * lib/egg/eggmarshalers.c: (_egg_marshal_OBJECT__VOID): * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon): * src/ephy-history-window.c: (provide_favicon): Exchange the newly-deprecated g_value_set_object_take_ownership() with g_value_take_object(). --- ChangeLog | 9 +++++++++ lib/egg/eggmarshalers.c | 2 +- src/bookmarks/ephy-bookmarks-editor.c | 2 +- src/ephy-history-window.c | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c65810399..9b8f2fd4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-09-13 Christian Persch + + * lib/egg/eggmarshalers.c: (_egg_marshal_OBJECT__VOID): + * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon): + * src/ephy-history-window.c: (provide_favicon): + + Exchange the newly-deprecated g_value_set_object_take_ownership() with + g_value_take_object(). + 2003-09-12 Marco Pesenti Gritti * data/glade/prefs-dialog.glade: diff --git a/lib/egg/eggmarshalers.c b/lib/egg/eggmarshalers.c index 02862ec00..f2749951d 100644 --- a/lib/egg/eggmarshalers.c +++ b/lib/egg/eggmarshalers.c @@ -387,7 +387,7 @@ _egg_marshal_OBJECT__VOID (GClosure *closure, v_return = callback (data1, data2); - g_value_set_object_take_ownership (return_value, v_return); + g_value_take_object (return_value, v_return); } /* VOID:VOID (eggmarshalers.list:10) */ diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index cff704d7e..3c0cd258d 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -1170,7 +1170,7 @@ provide_favicon (EphyNode *node, GValue *value, gpointer user_data) } g_value_init (value, GDK_TYPE_PIXBUF); - g_value_set_object_take_ownership (value, pixbuf); + g_value_take_object (value, pixbuf); } static void diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c index 039bb3387..69f62bcb3 100644 --- a/src/ephy-history-window.c +++ b/src/ephy-history-window.c @@ -918,7 +918,7 @@ provide_favicon (EphyNode *node, GValue *value, gpointer user_data) } g_value_init (value, GDK_TYPE_PIXBUF); - g_value_set_object_take_ownership (value, pixbuf); + g_value_take_object (value, pixbuf); } static void -- cgit