diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-10-02 04:24:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-10-02 04:24:49 +0800 |
commit | 656178049b4d1b73d4997aa983b778d4eb4054ae (patch) | |
tree | a5ad9c59d4fd231f6b6cb2e77eca139eaac8fe8d /mail | |
parent | f62728b55e201ea92e682e07b3253ce4fb42d5af (diff) | |
download | gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.gz gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.tar.zst gsoc2013-evolution-656178049b4d1b73d4997aa983b778d4eb4054ae.zip |
Build with GTK_DISABLE_DEPRECATED and fix resulting breakage.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-browser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c index 181daf8fa7..88e6202fda 100644 --- a/mail/e-mail-browser.c +++ b/mail/e-mail-browser.c @@ -126,12 +126,14 @@ mail_browser_menu_item_select_cb (EMailBrowser *browser, GtkWidget *widget) { GtkAction *action; + GtkActivatable *activatable; GtkStatusbar *statusbar; const gchar *tooltip; guint context_id; gpointer data; - action = gtk_widget_get_action (widget); + activatable = GTK_ACTIVATABLE (widget); + action = gtk_activatable_get_related_action (activatable); tooltip = gtk_action_get_tooltip (action); data = g_object_get_data (G_OBJECT (widget), "context-id"); |