summaryrefslogtreecommitdiff
path: root/src/daemon/stack.h
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-08-29 01:27:00 +0200
committerZenWalker <[email protected]>2017-08-29 01:57:52 +0200
commitc556e09077bb820e752d7266d2b20328db629883 (patch)
tree66c4050eb094338be849f9a2343ff910ad6f3a12 /src/daemon/stack.h
parent52b7c3807e71278f2d902a79cf6c08c839a1b0ad (diff)
downloadmate-notification-daemon-c556e09077bb820e752d7266d2b20328db629883.tar.bz2
mate-notification-daemon-c556e09077bb820e752d7266d2b20328db629883.tar.xz
gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
Diffstat (limited to 'src/daemon/stack.h')
-rw-r--r--src/daemon/stack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/stack.h b/src/daemon/stack.h
index a196e1f..5f478b8 100644
--- a/src/daemon/stack.h
+++ b/src/daemon/stack.h
@@ -38,7 +38,11 @@ typedef enum {
typedef struct _NotifyStack NotifyStack;
+#if GTK_CHECK_VERSION (3, 22, 0)
+NotifyStack* notify_stack_new(NotifyDaemon* daemon, GdkScreen* screen, GdkMonitor *monitor, NotifyStackLocation stack_location);
+#else
NotifyStack* notify_stack_new(NotifyDaemon* daemon, GdkScreen* screen, guint monitor, NotifyStackLocation stack_location);
+#endif
void notify_stack_destroy(NotifyStack* stack);
void notify_stack_set_location(NotifyStack* stack, NotifyStackLocation location);