+Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkselection.c (gtk_selection_request): Set the property
+ as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
+
+ * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
+ of type ATOM_PAIR as well as properties of type ATOM.
+
2002-02-21 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/images/*.png: screenshots of examples.
+Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkselection.c (gtk_selection_request): Set the property
+ as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
+
+ * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
+ of type ATOM_PAIR as well as properties of type ATOM.
+
2002-02-21 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/images/*.png: screenshots of examples.
+Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkselection.c (gtk_selection_request): Set the property
+ as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
+
+ * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
+ of type ATOM_PAIR as well as properties of type ATOM.
+
2002-02-21 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/images/*.png: screenshots of examples.
+Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkselection.c (gtk_selection_request): Set the property
+ as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
+
+ * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
+ of type ATOM_PAIR as well as properties of type ATOM.
+
2002-02-21 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/images/*.png: screenshots of examples.
+Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkselection.c (gtk_selection_request): Set the property
+ as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
+
+ * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
+ of type ATOM_PAIR as well as properties of type ATOM.
+
2002-02-21 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/images/*.png: screenshots of examples.
+Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkselection.c (gtk_selection_request): Set the property
+ as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
+
+ * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
+ of type ATOM_PAIR as well as properties of type ATOM.
+
2002-02-21 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/images/*.png: screenshots of examples.
+Wed Feb 20 21:52:13 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkselection.c (gtk_selection_request): Set the property
+ as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
+
+ * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
+ of type ATOM_PAIR as well as properties of type ATOM.
+
2002-02-21 Matthias Clasen <maclas@gmx.de>
* docs/tutorial/images/*.png: screenshots of examples.
if (data)
{
- if (ret_prop_type == XA_ATOM)
+ if (ret_prop_type == XA_ATOM ||
+ ret_prop_type == gdk_x11_get_xatom_by_name ("ATOM_PAIR"))
{
/*
* data is an array of X atom, we need to convert it
xwindow = _gdk_root_window;
}
- if (xtype == XA_ATOM)
+ if (xtype == XA_ATOM || xtype == gdk_x11_get_xatom_by_name ("ATOM_PAIR"))
{
/*
* data is an array of GdkAtom, we need to convert it
{
*data = g_new (guchar, length);
- if (prop_type == XA_ATOM)
+ if (prop_type == XA_ATOM || prop_type == gdk_x11_get_xatom_by_name ("ATOM_PAIR"))
{
Atom* atoms = (Atom*) t;
GdkAtom* atoms_dest = (GdkAtom*) *data;
if (event->target == gtk_selection_atoms[MULTIPLE])
{
gdk_property_change (info->requestor, event->property,
- GDK_SELECTION_TYPE_ATOM, 32,
+ gdk_atom_intern ("ATOM_PAIR", FALSE), 32,
GDK_PROP_MODE_REPLACE,
mult_atoms, 2*info->num_conversions);
g_free (mult_atoms);