[gnome-flashback/gnome-3-22] sound-applet: avoid a deprecation warning
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/gnome-3-22] sound-applet: avoid a deprecation warning
- Date: Mon, 24 Oct 2016 15:50:13 +0000 (UTC)
commit 6f670fe4eccfb6ff02e54beb61ec2c65d37a89ac
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Oct 24 18:46:51 2016 +0300
sound-applet: avoid a deprecation warning
.../libsound-applet/gvc-stream-status-icon.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
b/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
index ca7ad23..5cbc54b 100644
--- a/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
+++ b/gnome-flashback/libsound-applet/gvc-stream-status-icon.c
@@ -150,8 +150,10 @@ popup_dock (GvcStreamStatusIcon *icon,
gvc_channel_bar_set_orientation (GVC_CHANNEL_BAR (icon->priv->bar),
1 - orientation);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
monitor_num = gdk_screen_get_monitor_at_point (screen, area.x, area.y);
gdk_screen_get_monitor_geometry (screen, monitor_num, &monitor);
+ G_GNUC_END_IGNORE_DEPRECATIONS
gtk_container_foreach (GTK_CONTAINER (icon->priv->dock),
(GtkCallback) gtk_widget_show_all, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]