[Xfce4-commits] [xfce/xfce4-settings] 01/01: Resolve unused result warnings on gdk_error_trap_pop

noreply at xfce.org noreply at xfce.org
Thu Mar 2 18:57:04 CET 2017


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository xfce/xfce4-settings.

commit c931cb23fbcdb5cdf315e29db47795f6b9f99cf9
Author: Igor <f2404 at yandex.ru>
Date:   Thu Mar 2 20:57:00 2017 +0300

    Resolve unused result warnings on gdk_error_trap_pop
---
 dialogs/mouse-settings/main.c | 2 +-
 xfsettingsd/pointers.c        | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dialogs/mouse-settings/main.c b/dialogs/mouse-settings/main.c
index 3d91fa4..aea9cfa 100644
--- a/dialogs/mouse-settings/main.c
+++ b/dialogs/mouse-settings/main.c
@@ -617,7 +617,7 @@ mouse_settings_get_device_prop (Display     *xdisplay,
     rc = XGetDeviceProperty (xdisplay, device, prop, 0, 1, False,
                              type, &type_ret, &format, &n_items_ret,
                              &bytes_after, &data);
-    gdk_error_trap_pop ();
+    gdk_error_trap_pop_ignored ();
     if (rc == Success && type_ret == type && n_items_ret >= n_items)
     {
         success = TRUE;
diff --git a/xfsettingsd/pointers.c b/xfsettingsd/pointers.c
index dfa5683..017175b 100644
--- a/xfsettingsd/pointers.c
+++ b/xfsettingsd/pointers.c
@@ -219,7 +219,7 @@ xfce_pointers_is_enabled (Display *xdisplay,
     rc = XGetDeviceProperty (xdisplay, device, prop, 0, 1, False,
                              XA_INTEGER, &type, &format, &n_items,
                              &bytes_after, &data);
-    gdk_error_trap_pop ();
+    gdk_error_trap_pop_ignored ();
     if (rc == Success)
     {
         enabled = (gboolean) *data;
@@ -246,7 +246,7 @@ xfce_pointers_is_libinput (Display *xdisplay,
     rc = XGetDeviceProperty (xdisplay, device, prop, 0, 1, False,
                              XA_INTEGER, &type, &format, &n_items,
                              &bytes_after, &data);
-    gdk_error_trap_pop ();
+    gdk_error_trap_pop_ignored ();
     if (rc == Success)
     {
         XFree (data);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list