From 656178049b4d1b73d4997aa983b778d4eb4054ae Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 1 Oct 2009 16:24:49 -0400 Subject: Build with GTK_DISABLE_DEPRECATED and fix resulting breakage. --- shell/e-shell-window-private.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c index 2934a82730..1677d657ba 100644 --- a/shell/e-shell-window-private.c +++ b/shell/e-shell-window-private.c @@ -110,10 +110,12 @@ shell_window_menu_item_select_cb (EShellWindow *shell_window, GtkWidget *widget) { GtkAction *action; + GtkActivatable *activatable; GtkLabel *label; const gchar *tooltip; - action = gtk_widget_get_action (widget); + activatable = GTK_ACTIVATABLE (widget); + action = gtk_activatable_get_related_action (activatable); tooltip = gtk_action_get_tooltip (action); if (tooltip == NULL) -- cgit