[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: Move away from deprecated notify_notification_set_hint calls

noreply at xfce.org noreply at xfce.org
Sun Oct 29 16:20:25 CET 2017


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-pulseaudio-plugin.

commit 69969027f389c9549c45501111fe6888bad71ee2
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Oct 29 12:53:26 2017 +0100

    Move away from deprecated notify_notification_set_hint calls
    
    Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
 panel-plugin/pulseaudio-notify.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/panel-plugin/pulseaudio-notify.c b/panel-plugin/pulseaudio-notify.c
index d233373..b47ca00 100644
--- a/panel-plugin/pulseaudio-notify.c
+++ b/panel-plugin/pulseaudio-notify.c
@@ -220,12 +220,12 @@ pulseaudio_notify_notify (PulseaudioNotify *notify, gboolean mic)
   g_free (title);
 
   if (notify->gauge_notifications) {
-    notify_notification_set_hint_int32 (notification,
-                                        "value",
-                                        volume_i);
-    notify_notification_set_hint_string (notification,
-                                         "x-canonical-private-synchronous",
-                                         "");
+    notify_notification_set_hint (notification,
+                                  "value",
+                                  g_variant_new_int32(volume_i));
+    notify_notification_set_hint (notification,
+                                  "x-canonical-private-synchronous",
+                                  g_variant_new_string(""));
   }
 
   if (!notify_notification_show (notification, &error))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list