From ab54315150069e84e5db81f271efd0190a47f5d1 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 28 Mar 2006 20:06:56 +0000 Subject: Use g_object_ref_sink(). 2006-03-28 Christian Persch * embed/mozilla/EphyPromptService.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-statusbar.c: (ephy_statusbar_init): Use g_object_ref_sink(). --- lib/widgets/ephy-location-entry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/widgets/ephy-location-entry.c') diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c index f38742d03..ac21374ec 100644 --- a/lib/widgets/ephy-location-entry.c +++ b/lib/widgets/ephy-location-entry.c @@ -872,8 +872,7 @@ ephy_location_entry_init (EphyLocationEntry *le) p->user_changed = TRUE; p->tips = gtk_tooltips_new (); - g_object_ref (p->tips); - gtk_object_sink (GTK_OBJECT (p->tips)); + g_object_ref_sink (p->tips); ephy_location_entry_construct_contents (le); -- cgit v1.2.3