+Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testselection.c (main): Add in missing 'flags'
+ field to target list.
+
+ * gdk/gdkproperty.c (gdk_atom_intern): Actually
+ add the atoms to the local cache.
+
Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkprivate.h: put text after #endif in comment
+Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testselection.c (main): Add in missing 'flags'
+ field to target list.
+
+ * gdk/gdkproperty.c (gdk_atom_intern): Actually
+ add the atoms to the local cache.
+
Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkprivate.h: put text after #endif in comment
+Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testselection.c (main): Add in missing 'flags'
+ field to target list.
+
+ * gdk/gdkproperty.c (gdk_atom_intern): Actually
+ add the atoms to the local cache.
+
Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkprivate.h: put text after #endif in comment
+Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testselection.c (main): Add in missing 'flags'
+ field to target list.
+
+ * gdk/gdkproperty.c (gdk_atom_intern): Actually
+ add the atoms to the local cache.
+
Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkprivate.h: put text after #endif in comment
+Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testselection.c (main): Add in missing 'flags'
+ field to target list.
+
+ * gdk/gdkproperty.c (gdk_atom_intern): Actually
+ add the atoms to the local cache.
+
Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkprivate.h: put text after #endif in comment
+Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testselection.c (main): Add in missing 'flags'
+ field to target list.
+
+ * gdk/gdkproperty.c (gdk_atom_intern): Actually
+ add the atoms to the local cache.
+
Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkprivate.h: put text after #endif in comment
+Wed Dec 9 12:23:30 1998 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/testselection.c (main): Add in missing 'flags'
+ field to target list.
+
+ * gdk/gdkproperty.c (gdk_atom_intern): Actually
+ add the atoms to the local cache.
+
Wed Dec 9 04:57:31 PST 1998 Manish Singh <yosh@gimp.org>
* gdk/gdkprivate.h: put text after #endif in comment
retval = GPOINTER_TO_UINT (g_hash_table_lookup (atom_hash, atom_name));
if (!retval)
- retval = XInternAtom (gdk_display, atom_name, only_if_exists);
+ {
+ retval = XInternAtom (gdk_display, atom_name, only_if_exists);
+
+ g_hash_table_insert (atom_hash,
+ g_strdup (atom_name),
+ GUINT_TO_POINTER (retval));
+ }
return retval;
}
retval = GPOINTER_TO_UINT (g_hash_table_lookup (atom_hash, atom_name));
if (!retval)
- retval = XInternAtom (gdk_display, atom_name, only_if_exists);
+ {
+ retval = XInternAtom (gdk_display, atom_name, only_if_exists);
+
+ g_hash_table_insert (atom_hash,
+ g_strdup (atom_name),
+ GUINT_TO_POINTER (retval));
+ }
return retval;
}
GtkWidget *hbox;
static GtkTargetEntry targetlist[] = {
- { "STRING", STRING },
- { "TEXT", TEXT },
- { "COMPOUND_TEXT", COMPOUND_TEXT }
+ { "STRING", 0, STRING },
+ { "TEXT", 0, TEXT },
+ { "COMPOUND_TEXT", 0, COMPOUND_TEXT }
};
static gint ntargets = sizeof(targetlist) / sizeof(targetlist[0]);
GtkWidget *hbox;
static GtkTargetEntry targetlist[] = {
- { "STRING", STRING },
- { "TEXT", TEXT },
- { "COMPOUND_TEXT", COMPOUND_TEXT }
+ { "STRING", 0, STRING },
+ { "TEXT", 0, TEXT },
+ { "COMPOUND_TEXT", 0, COMPOUND_TEXT }
};
static gint ntargets = sizeof(targetlist) / sizeof(targetlist[0]);