diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-03-29 04:06:56 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-03-29 04:06:56 +0800 |
commit | ab54315150069e84e5db81f271efd0190a47f5d1 (patch) | |
tree | dc125616802ea2c4e25deb6faab6da7d893fd406 /src | |
parent | c064ae70ee2c8029468479580b04b09bda3a7994 (diff) | |
download | gsoc2013-epiphany-ab54315150069e84e5db81f271efd0190a47f5d1.tar.gz 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')
-rw-r--r-- | src/ephy-fullscreen-popup.c | 3 | ||||
-rw-r--r-- | src/ephy-notebook.c | 3 | ||||
-rwxr-xr-x | src/ephy-statusbar.c | 3 |
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); |