[network-manager-applet] applet: set proper notification hint



commit 91de075889131313dbc86c44f3db21c959028734
Author: Michael Biebl <biebl debian org>
Date:   Wed Jan 30 02:12:27 2013 +0100

    applet: set proper notification hint
    
    Commit f9023a0c242cd5f8ebcf999c57def5b7240e2299 broke the build:
    
    applet.c:939:2: error: passing argument 3 of
    ânotify_notification_set_hintâ from incompatible pointer type [-Werror]

 src/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index a79192d..4e356c6 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -936,7 +936,7 @@ applet_do_notify (NMApplet *applet,
 
 #if HAVE_LIBNOTIFY_07
 	notify_notification_set_hint (notify, "transient", g_variant_new_boolean (TRUE));
-	notify_notification_set_hint (notify, "desktop-entry", "nm-applet");
+	notify_notification_set_hint (notify, "desktop-entry", g_variant_new_string ("nm-applet"));
 #else
 	notify_notification_attach_to_status_icon (notify, applet->status_icon);
 #endif



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