* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
+/*
+ * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
+ * file for a list of people on the GTK+ Team. See the ChangeLog
+ * files for a list of changes. These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
+ */
+
#include "gdkprivate.h"
#include <stdio.h>
XID *b);
-GHashTable *xid_ht = NULL;
+static GHashTable *xid_ht = NULL;
void
gpointer
gdk_xid_table_lookup (XID xid)
{
- gpointer data;
-
- data = g_hash_table_lookup (xid_ht, &xid);
+ gpointer data = NULL;
+ if (xid_ht)
+ data = g_hash_table_lookup (xid_ht, &xid);
+
return data;
}