From cbea51644e5143aaa535a972174a0269a63d2505 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 8 Feb 2009 12:15:25 +0000 Subject: Use gtk_activatable_get_related_action instead of the deprecated gtk_widget_get_action. svn path=/trunk/; revision=8771 --- src/ephy-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ephy-window.c') diff --git a/src/ephy-window.c b/src/ephy-window.c index ea3ed7497..dacaee3e0 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1281,7 +1281,7 @@ menu_item_select_cb (GtkMenuItem *proxy, GtkAction *action; char *message; - action = gtk_widget_get_action (GTK_WIDGET (proxy)); + action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (proxy)); g_return_if_fail (action != NULL); g_object_get (action, "tooltip", &message, NULL); @@ -1314,7 +1314,7 @@ tool_item_enter_cb (GtkWidget *proxy, item = GTK_TOOL_ITEM (gtk_widget_get_ancestor (proxy, GTK_TYPE_TOOL_ITEM)); - action = gtk_widget_get_action (GTK_WIDGET (item)); + action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (item)); g_return_val_if_fail (action != NULL, FALSE); g_object_get (action, "tooltip", &message, NULL); -- cgit v1.2.3