aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.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 /src/ephy-notebook.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 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index 23173b81f..001ac21f1 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -484,8 +484,7 @@ ephy_notebook_init (EphyNotebook *notebook)
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook), FALSE);
notebook->priv->title_tips = gtk_tooltips_new ();
- g_object_ref (G_OBJECT (notebook->priv->title_tips));
- gtk_object_sink (GTK_OBJECT (notebook->priv->title_tips));
+ g_object_ref_sink (notebook->priv->title_tips);
notebook->priv->show_tabs = TRUE;
notebook->priv->dnd_enabled = TRUE;