Skip to content
Snippets Groups Projects
Commit 69969027 authored by Simon Steinbeiss's avatar Simon Steinbeiss Committed by Sean Davis
Browse files

Move away from deprecated notify_notification_set_hint calls


Signed-off-by: default avatarSean Davis <smd.seandavis@gmail.com>
parent 03a1ade2
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment