aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-03-29 04:06:56 +0800
committerChristian Persch <chpe@src.gnome.org>2006-03-29 04:06:56 +0800
commitab54315150069e84e5db81f271efd0190a47f5d1 (patch)
treedc125616802ea2c4e25deb6faab6da7d893fd406 /lib/egg
parentc064ae70ee2c8029468479580b04b09bda3a7994 (diff)
downloadgsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar.gz
gsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar.zst
gsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.zip
Use g_object_ref_sink().
2006-03-28 Christian Persch <chpe@cvs.gnome.org> * 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().
Diffstat (limited to 'lib/egg')
-rwxr-xr-xlib/egg/egg-editable-toolbar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index 2f49b42f5..b7fa0951d 100755
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -1685,8 +1685,7 @@ egg_editable_toolbar_set_fixed (EggEditableToolbar *etoolbar,
{
priv->fixed_toolbar = GTK_WIDGET (toolbar);
gtk_toolbar_set_show_arrow (toolbar, FALSE);
- g_object_ref (toolbar);
- gtk_object_sink (GTK_OBJECT (toolbar));
+ g_object_ref_sink (toolbar);
}
update_fixed (etoolbar);