[Xfce4-commits] [apps/xfce4-notifyd] 01/01: Get rid of gdk_error_trap* deprecations
noreply at xfce.org
noreply at xfce.org
Thu Dec 6 22:38:59 CET 2018
This is an automated email from the git hooks/post-receive script.
o c h o s i 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 apps/xfce4-notifyd.
commit 3078f470cffaf10a2a8a1ba653f6e8168c0dc9e8
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Thu Dec 6 22:38:27 2018 +0100
Get rid of gdk_error_trap* deprecations
---
xfce4-notifyd/xfce-notify-daemon.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/xfce4-notifyd/xfce-notify-daemon.c b/xfce4-notifyd/xfce-notify-daemon.c
index bc6f2f0..ed82b04 100644
--- a/xfce4-notifyd/xfce-notify-daemon.c
+++ b/xfce4-notifyd/xfce-notify-daemon.c
@@ -642,11 +642,11 @@ G_GNUC_END_IGNORE_DEPRECATIONS
GdkWindow *window = l->data;
GdkWindowTypeHint type_hint;
- gdk_error_trap_push();
+ gdk_x11_display_error_trap_push(display);
type_hint = gdk_window_get_type_hint(window);
- gdk_flush();
+ gdk_display_flush(display);
- if (gdk_error_trap_pop()) {
+ if (gdk_x11_display_error_trap_pop(display)) {
DBG("Got invalid window in stack, could not get type hint");
continue;
}
@@ -654,11 +654,11 @@ G_GNUC_END_IGNORE_DEPRECATIONS
if(type_hint == GDK_WINDOW_TYPE_HINT_DOCK) {
GdkRectangle window_geom, intersection;
- gdk_error_trap_push();
+ gdk_x11_display_error_trap_push(display);
gdk_window_get_frame_extents(window, &window_geom);
- gdk_flush();
+ gdk_display_flush(display);
- if (gdk_error_trap_pop()) {
+ if (gdk_x11_display_error_trap_pop(display)) {
DBG("Got invalid window in stack, could not get frame extents");
continue;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list