[empathy] Port to libnotify 0.7.0
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Port to libnotify 0.7.0
- Date: Tue, 19 Oct 2010 15:48:10 +0000 (UTC)
commit 8909adc8fa36c39d26d21bc7e3c3065bb1b6b74d
Author: William Jon McCann <jmccann redhat com>
Date: Tue Oct 12 02:15:51 2010 -0400
Port to libnotify 0.7.0
https://bugzilla.gnome.org/show_bug.cgi?id=631944
configure.ac | 2 +-
src/empathy-chat-window.c | 2 +-
src/empathy-status-icon.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 94ee86f..0b9777a 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 fe27836..a92e28b 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 a062f51..e61e0cf 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]