aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2010-10-12 14:15:51 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-19 23:43:57 +0800
commit8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d (patch)
treec4e8ce2cf99f7f5c3707eaf21dce01c7cd017c71
parent0ca576c2a57d4628328696b2803553d2de748c87 (diff)
downloadgsoc2013-empathy-8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d.tar
gsoc2013-empathy-8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d.tar.gz
gsoc2013-empathy-8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d.tar.bz2
gsoc2013-empathy-8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d.tar.lz
gsoc2013-empathy-8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d.tar.xz
gsoc2013-empathy-8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d.tar.zst
gsoc2013-empathy-8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d.zip
Port to libnotify 0.7.0
https://bugzilla.gnome.org/show_bug.cgi?id=631944
-rw-r--r--configure.ac2
-rw-r--r--src/empathy-chat-window.c2
-rw-r--r--src/empathy-status-icon.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 94ee86fa0..0b9777a7e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ GNUTLS_REQUIRED=2.8.5
GTK_REQUIRED=2.91.1
KEYRING_REQUIRED=2.26.0
LIBCANBERRA_GTK_REQUIRED=0.25
-LIBNOTIFY_REQUIRED=0.5.1
+LIBNOTIFY_REQUIRED=0.7.0
TELEPATHY_FARSIGHT_REQUIRED=0.0.14
TELEPATHY_GLIB_REQUIRED=0.13.1.1
TELEPATHY_LOGGER=0.1.5
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index fe2783667..a92e28b2a 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1320,7 +1320,7 @@ chat_window_show_or_update_notification (EmpathyChatWindow *window,
to an existing notification with the same title.
In this way the previous message will not be lost: the new
message will appear below it, in the same notification */
- notification = notify_notification_new (header, escaped, NULL, NULL);
+ notification = notify_notification_new (header, escaped, NULL);
if (priv->notification == NULL) {
priv->notification = notification;
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index a062f5169..e61e0cfd4 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -206,8 +206,8 @@ status_icon_update_notification (EmpathyStatusIcon *icon)
to an existing notification with the same title.
In this way the previous message will not be lost: the new
message will appear below it, in the same notification */
- notification = notify_notification_new_with_status_icon
- (priv->event->header, message_esc, NULL, priv->icon);
+ notification = notify_notification_new
+ (priv->event->header, message_esc, NULL);
if (priv->notification == NULL) {
priv->notification = notification;