diff options
Diffstat (limited to 'lib/widgets/ephy-zoom-control.c')
-rw-r--r-- | lib/widgets/ephy-zoom-control.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |