aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-zoom-control.c
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/widgets/ephy-zoom-control.c
parentc064ae70ee2c8029468479580b04b09bda3a7994 (diff)
downloadgsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar
gsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar.gz
gsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar.bz2
gsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar.lz
gsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar.xz
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/widgets/ephy-zoom-control.c')
-rw-r--r--lib/widgets/ephy-zoom-control.c3
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);