[gnome-control-center] Use gdk_error_trap_pop_ignored()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Use gdk_error_trap_pop_ignored()
- Date: Fri, 4 Feb 2011 20:44:25 +0000 (UTC)
commit f0bee95a74a5d98939e6f1d4fbe2c1a7121d51c4
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Feb 4 15:40:25 2011 -0500
Use gdk_error_trap_pop_ignored()
panels/mouse/gsd-input-helper.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/mouse/gsd-input-helper.c b/panels/mouse/gsd-input-helper.c
index ee56431..6f51e52 100644
--- a/panels/mouse/gsd-input-helper.c
+++ b/panels/mouse/gsd-input-helper.c
@@ -65,11 +65,11 @@ device_is_touchpad (XDeviceInfo deviceinfo)
if ((XGetDeviceProperty (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device, prop, 0, 1, False,
XA_INTEGER, &realtype, &realformat, &nitems,
&bytes_after, &data) == Success) && (realtype != None)) {
- gdk_error_trap_pop ();
+ gdk_error_trap_pop_ignored ();
XFree (data);
return device;
}
- gdk_error_trap_pop ();
+ gdk_error_trap_pop_ignored ();
XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device);
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]