aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-private.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-10-02 04:24:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-10-02 04:24:49 +0800
commit656178049b4d1b73d4997aa983b778d4eb4054ae (patch)
treea5ad9c59d4fd231f6b6cb2e77eca139eaac8fe8d /shell/e-shell-window-private.c
parentf62728b55e201ea92e682e07b3253ce4fb42d5af (diff)
downloadgsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.gz
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.bz2
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.lz
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.xz
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.zst
gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.zip
Build with GTK_DISABLE_DEPRECATED and fix resulting breakage.
Diffstat (limited to 'shell/e-shell-window-private.c')
-rw-r--r--shell/e-shell-window-private.c4
1 files changed, 3 insertions, 1 deletions
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)