aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r--lib/widgets/ephy-location-entry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index f38742d03..ac21374ec 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -872,8 +872,7 @@ ephy_location_entry_init (EphyLocationEntry *le)
p->user_changed = TRUE;
p->tips = gtk_tooltips_new ();
- g_object_ref (p->tips);
- gtk_object_sink (GTK_OBJECT (p->tips));
+ g_object_ref_sink (p->tips);
ephy_location_entry_construct_contents (le);