summaryrefslogtreecommitdiff
path: root/gdk/gdkproperty.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-03-03 01:54:44 +0000
committerArturo Espinosa <unammx@src.gnome.org>1998-03-03 01:54:44 +0000
commitc6a2248e986aa96226fd38dedf5d4042ee0c000c (patch)
treebfa6fbc7053a49dcc2c88ed23a31a5109dc832f1 /gdk/gdkproperty.c
parent12f1b7858ea692ef4c5a7c6625e91362cb962ec3 (diff)
downloadgtk+-c6a2248e986aa96226fd38dedf5d4042ee0c000c.tar.gz
Initialize gdk_error_code to zero before calling the X routine.
Mon Mar 2 19:57:27 1998 Miguel de Icaza <miguel@nuclecu.unam.mx> * gdk/gdkproperty.c (gdk_atom_name): Initialize gdk_error_code to zero before calling the X routine.
Diffstat (limited to 'gdk/gdkproperty.c')
-rw-r--r--gdk/gdkproperty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkproperty.c b/gdk/gdkproperty.c
index 8eaba3aae9..40140a026a 100644
--- a/gdk/gdkproperty.c
+++ b/gdk/gdkproperty.c
@@ -39,6 +39,7 @@ gdk_atom_name (GdkAtom atom)
we take precautions */
gdk_error_warnings = 0;
+ gdk_error_code = 0;
t = XGetAtomName (gdk_display, atom);
gdk_error_warnings = 1;