[gnome-terminal] Use gdk_error_trap_pop_ignored here
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Use gdk_error_trap_pop_ignored here
- Date: Sun, 26 Sep 2010 14:32:24 +0000 (UTC)
commit b32b4c15934f8604974162b49e1a4dd97d8bdf48
Author: Christian Persch <chpe gnome org>
Date: Fri Sep 24 14:55:32 2010 +0200
Use gdk_error_trap_pop_ignored here
src/terminal-util.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index a49f1a0..8870e27 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -1215,7 +1215,11 @@ terminal_util_x11_window_is_minimized (GdkWindow *window)
gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_STATE"),
0, G_MAXLONG, False, XA_ATOM, &type, &format, &nitems,
&bytes_after, &data);
+#if GTK_CHECK_VERSION (2, 90, 8)
+ gdk_error_trap_pop_ignored ();
+#else
gdk_error_trap_pop ();
+#endif
if (type != None)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]