aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-fullscreen-popup.c3
-rw-r--r--src/ephy-notebook.c3
-rwxr-xr-xsrc/ephy-statusbar.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c
index 77250fecd..ea6679ecf 100644
--- a/src/ephy-fullscreen-popup.c
+++ b/src/ephy-fullscreen-popup.c
@@ -239,8 +239,7 @@ ephy_fullscreen_popup_constructor (GType type,
gtk_window_set_resizable (window, FALSE);
priv->tooltips = gtk_tooltips_new ();
- g_object_ref (G_OBJECT (priv->tooltips));
- gtk_object_sink (GTK_OBJECT (priv->tooltips));
+ g_object_ref_sink (priv->tooltips);
hbox = gtk_hbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (window), hbox);
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;
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index 76778967c..44bc5b029 100755
--- a/src/ephy-statusbar.c
+++ b/src/ephy-statusbar.c
@@ -221,8 +221,7 @@ ephy_statusbar_init (EphyStatusbar *t)
t->priv = EPHY_STATUSBAR_GET_PRIVATE (t);
t->tooltips = gtk_tooltips_new ();
- g_object_ref (G_OBJECT (t->tooltips));
- gtk_object_sink (GTK_OBJECT (t->tooltips));
+ g_object_ref_sink (t->tooltips);
t->priv->icon_container = gtk_hbox_new (FALSE, 0);
gtk_box_pack_start (GTK_BOX (t), t->priv->icon_container, FALSE, FALSE, 0);