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(). --- src/ephy-statusbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ephy-statusbar.c') diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c index 76778967c..44bc5b029 100755 --- a/src/ephy-statusbar.c +++ b/src/ephy-statusbar.c @@ -221,8 +221,7 @@ ephy_statusbar_init (EphyStatusbar *t) t->priv = EPHY_STATUSBAR_GET_PRIVATE (t); t->tooltips = gtk_tooltips_new (); - g_object_ref (G_OBJECT (t->tooltips)); - gtk_object_sink (GTK_OBJECT (t->tooltips)); + g_object_ref_sink (t->tooltips); t->priv->icon_container = gtk_hbox_new (FALSE, 0); gtk_box_pack_start (GTK_BOX (t), t->priv->icon_container, FALSE, FALSE, 0); -- cgit v1.2.3