[gnome-power-manager] gpm: replace gdk_error_trap_pop by new gdk_error_trap_pop_ignored
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] gpm: replace gdk_error_trap_pop by new gdk_error_trap_pop_ignored
- Date: Mon, 4 Oct 2010 07:47:16 +0000 (UTC)
commit f80e1a93f1dac675e77b019a9d995ed43e6e89a1
Author: Alban Browaeys <prahal yahoo com>
Date: Wed Sep 22 02:27:36 2010 +0200
gpm: replace gdk_error_trap_pop by new gdk_error_trap_pop_ignored
This fixes a warning about unused result.
Signed-off-by: Richard Hughes <richard hughsie com>
src/gpm-button.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-button.c b/src/gpm-button.c
index cb5cd50..f656eb3 100644
--- a/src/gpm-button.c
+++ b/src/gpm-button.c
@@ -171,7 +171,7 @@ gpm_button_grab_keystring (GpmButton *button, guint64 keycode)
/* we are not processing the error */
gdk_flush ();
- gdk_error_trap_pop ();
+ gdk_error_trap_pop_ignored ();
egg_debug ("Grabbed modmask=%x, keycode=%li", modmask, (long int) keycode);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]