[vino] adapt to new libnotify api
- From: Jonh Wendell <jwendell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vino] adapt to new libnotify api
- Date: Thu, 2 Dec 2010 16:24:24 +0000 (UTC)
commit 80a9f0959f7d6eccda0ef3ada3711c557fce919e
Author: Jonh Wendell <jwendell gnome org>
Date: Thu Dec 2 17:23:30 2010 +0100
adapt to new libnotify api
server/vino-status-icon.c | 7 +++----
server/vino-status-tube-icon.c | 3 +--
2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/server/vino-status-icon.c b/server/vino-status-icon.c
index 0e28a15..31faaf6 100644
--- a/server/vino-status-icon.c
+++ b/server/vino-status-icon.c
@@ -622,10 +622,9 @@ vino_status_icon_show_new_client_notification (gpointer user_data)
}
icon->priv->new_client_notification =
- notify_notification_new_with_status_icon (summary,
- body,
- "preferences-desktop-remote-desktop",
- GTK_STATUS_ICON (icon));
+ notify_notification_new (summary,
+ body,
+ "preferences-desktop-remote-desktop");
g_free (body);
diff --git a/server/vino-status-tube-icon.c b/server/vino-status-tube-icon.c
index 6f12e3c..2e84d51 100644
--- a/server/vino-status-tube-icon.c
+++ b/server/vino-status-tube-icon.c
@@ -405,8 +405,7 @@ vino_status_tube_icon_show_notif (VinoStatusTubeIcon *icon,
filename = "stock_person";
icon->priv->new_client_notification =
- notify_notification_new_with_status_icon (summary, body,
- filename, GTK_STATUS_ICON (icon));
+ notify_notification_new (summary, body, filename);
notify_notification_set_timeout (icon->priv->new_client_notification,
NOTIFICATION_TIMEOUT * 1000);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]