diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 11:40:14 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 11:40:14 +0800 |
commit | 15b9f361f625d741794afc119724838a5beff89d (patch) | |
tree | 0702a7ee5e54dad4f46e3a714c7a817bdfe76900 /plugins/mail-notification | |
parent | 658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5 (diff) | |
download | gsoc2013-evolution-15b9f361f625d741794afc119724838a5beff89d.tar.gz gsoc2013-evolution-15b9f361f625d741794afc119724838a5beff89d.tar.zst gsoc2013-evolution-15b9f361f625d741794afc119724838a5beff89d.zip |
Rats. gtk_status_icon_set_tooltip_text() is only in 2.16.
Define some temporary macros to work around it.
svn path=/trunk/; revision=37292
Diffstat (limited to 'plugins/mail-notification')
-rw-r--r-- | plugins/mail-notification/mail-notification.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index e7d0f2f898..89f9daaccb 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -54,6 +54,10 @@ #define GCONF_KEY_ENABLED_STATUS GCONF_KEY_ROOT "status-enabled" #define GCONF_KEY_ENABLED_SOUND GCONF_KEY_ROOT "sound-enabled" +#if !GTK_CHECK_VERSION(2,16,0) +#define gtk_status_icon_set_tooltip_text gtk_status_icon_set_tooltip +#endif + static gboolean enabled = FALSE; static GtkWidget *get_cfg_widget (void); static GStaticMutex mlock = G_STATIC_MUTEX_INIT; |