[gnome-control-center] mouse: use new GDK error trap API
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] mouse: use new GDK error trap API
- Date: Wed, 6 Oct 2010 10:59:45 +0000 (UTC)
commit 78b5f0ee2dcfb9c57e91b2f509c89e620745fddf
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Oct 6 12:52:45 2010 +0200
mouse: use new GDK error trap API
panels/mouse/gnome-mouse-properties.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/mouse/gnome-mouse-properties.c b/panels/mouse/gnome-mouse-properties.c
index ef61652..34bf5f8 100644
--- a/panels/mouse/gnome-mouse-properties.c
+++ b/panels/mouse/gnome-mouse-properties.c
@@ -366,7 +366,7 @@ synaptics_check_capabilities (GtkBuilder *dialog)
XFree (data);
}
- gdk_error_trap_pop ();
+ gdk_error_trap_pop_ignored ();
XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device);
}
@@ -417,7 +417,7 @@ find_synaptics (void)
XFree (data);
ret = TRUE;
}
- gdk_error_trap_pop ();
+ gdk_error_trap_pop_ignored ();
XCloseDevice (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]