diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/egg/egg-editable-toolbar.c | 3 | ||||
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 3 | ||||
-rw-r--r-- | lib/widgets/ephy-zoom-control.c | 3 |
3 files changed, 3 insertions, 6 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); 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); diff --git a/lib/widgets/ephy-zoom-control.c b/lib/widgets/ephy-zoom-control.c index cc24f61a6..040a00dba 100644 --- a/lib/widgets/ephy-zoom-control.c +++ b/lib/widgets/ephy-zoom-control.c @@ -137,8 +137,7 @@ ephy_zoom_control_init (EphyZoomControl *control) p->combo = combo; gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (p->combo), FALSE); - g_object_ref (combo); - gtk_object_sink (GTK_OBJECT (combo)); + g_object_ref_sink (combo); gtk_widget_show (GTK_WIDGET (combo)); i = ephy_zoom_get_zoom_level_index (p->zoom); |