aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/egg-editable-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/egg/egg-editable-toolbar.c')
-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);