[Xfce4-commits] [xfce/thunar] 01/06: Replace gdk_error_trap_* by X11 specific functions
noreply at xfce.org
noreply at xfce.org
Sat Jun 2 06:52:24 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d 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 xfce/thunar.
commit b847281bc7c76b312a497dfe1cb83e8770cb1684
Author: Andre Miranda <andreldm at xfce.org>
Date: Sat Jun 2 01:25:07 2018 -0300
Replace gdk_error_trap_* by X11 specific functions
---
plugins/thunar-wallpaper/twp-provider.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/thunar-wallpaper/twp-provider.c b/plugins/thunar-wallpaper/twp-provider.c
index 287340f..0a91c1d 100644
--- a/plugins/thunar-wallpaper/twp-provider.c
+++ b/plugins/thunar-wallpaper/twp-provider.c
@@ -372,7 +372,7 @@ twp_get_active_workspace_number (GdkScreen *screen)
gint format_ret;
gint ws_num = 0;
- gdk_error_trap_push ();
+ gdk_x11_display_error_trap_push (gdk_display_get_default ());
root = gdk_screen_get_root_window (screen);
@@ -407,7 +407,7 @@ twp_get_active_workspace_number (GdkScreen *screen)
XFree (prop_ret);
}
- gdk_error_trap_pop_ignored ();
+ gdk_x11_display_error_trap_pop_ignored (gdk_display_get_default ());
return ws_num;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list