[nautilus] application: don't use deprecated API for GNotification



commit f5c94ea7aec1639d979e5030c8a8af238d02c07d
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Nov 29 10:08:29 2014 -0800

    application: don't use deprecated API for GNotification

 src/nautilus-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 2f1c016..5f0b4ca 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -149,7 +149,7 @@ nautilus_application_notify_unmount_show (NautilusApplication *application,
        unmount = g_notification_new (strings[0]);
        g_notification_set_body (unmount, strings[1]);
        g_notification_set_icon (unmount, icon);
-       g_notification_set_urgent (unmount, TRUE);
+       g_notification_set_priority (unmount, G_NOTIFICATION_PRIORITY_URGENT);
 
        g_application_send_notification (G_APPLICATION (application), "unmount", unmount);
        g_object_unref (unmount);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]