aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-find-toolbar.c
diff options
context:
space:
mode:
authorCyril Brulebois <cyrilbois@src.gnome.org>2007-11-11 06:06:43 +0800
committerCyril Brulebois <cyrilbois@src.gnome.org>2007-11-11 06:06:43 +0800
commite8c24d29f7e029ccb1f271db4298785f8daa6436 (patch)
tree63e89ef1150e6d43c59a6f75893e3dadd60dc73d /src/ephy-find-toolbar.c
parent1d85bcfd7c4bbbebec88e7e33ca91937e67225c7 (diff)
downloadgsoc2013-epiphany-e8c24d29f7e029ccb1f271db4298785f8daa6436.tar.gz
gsoc2013-epiphany-e8c24d29f7e029ccb1f271db4298785f8daa6436.tar.zst
gsoc2013-epiphany-e8c24d29f7e029ccb1f271db4298785f8daa6436.zip
Add GTK_DISABLE_DEPRECATED back in DEPRECATION_FLAGS. Move the last
calls to gtk_entry_set_editable, gtk_menu_item_remove_submenu, and gtk_tool_item_set_tooltip to the appropriate replacements in Gtk 2.12. svn path=/trunk/; revision=7659
Diffstat (limited to 'src/ephy-find-toolbar.c')
-rw-r--r--src/ephy-find-toolbar.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 7ab4d9018..85b6e31a7 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -469,9 +469,8 @@ ephy_find_toolbar_init (EphyFindToolbar *toolbar)
arrow = gtk_arrow_new (GTK_ARROW_LEFT, GTK_SHADOW_NONE);
priv->prev = gtk_tool_button_new (arrow, _("Find Previous"));
gtk_tool_item_set_is_important (priv->prev, TRUE);
- gtk_tool_item_set_tooltip (priv->prev, gtoolbar->tooltips,
- _("Find previous occurrence of the search string"),
- NULL);
+ gtk_tool_item_set_tooltip_text (priv->prev,
+ _("Find previous occurrence of the search string"));
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), priv->prev, -1);
gtk_widget_show_all (GTK_WIDGET (priv->prev));
@@ -479,9 +478,8 @@ ephy_find_toolbar_init (EphyFindToolbar *toolbar)
arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE);
priv->next = gtk_tool_button_new (arrow, _("Find Next"));
gtk_tool_item_set_is_important (priv->next, TRUE);
- gtk_tool_item_set_tooltip (priv->next, gtoolbar->tooltips,
- _("Find next occurrence of the search string"),
- NULL);
+ gtk_tool_item_set_tooltip_text (priv->next,
+ _("Find next occurrence of the search string"));
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), priv->next, -1);
gtk_widget_show_all (GTK_WIDGET (priv->next));