+Thu Feb 12 11:05:16 2004 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
+ gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
+
+ * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
+ gdk_property_get call instead of 0.
+
+ * docs/reference/gdk/tmpl/properties.sgml: Document the above
+ as GDK_NONE instead of simply 0.
+
Thu Feb 12 15:46:26 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
+Thu Feb 12 11:05:16 2004 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
+ gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
+
+ * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
+ gdk_property_get call instead of 0.
+
+ * docs/reference/gdk/tmpl/properties.sgml: Document the above
+ as GDK_NONE instead of simply 0.
+
Thu Feb 12 15:46:26 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
+Thu Feb 12 11:05:16 2004 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
+ gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
+
+ * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
+ gdk_property_get call instead of 0.
+
+ * docs/reference/gdk/tmpl/properties.sgml: Document the above
+ as GDK_NONE instead of simply 0.
+
Thu Feb 12 15:46:26 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
+Thu Feb 12 11:05:16 2004 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
+ gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
+
+ * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
+ gdk_property_get call instead of 0.
+
+ * docs/reference/gdk/tmpl/properties.sgml: Document the above
+ as GDK_NONE instead of simply 0.
+
Thu Feb 12 15:46:26 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
+Thu Feb 12 11:05:16 2004 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
+ gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
+
+ * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
+ gdk_property_get call instead of 0.
+
+ * docs/reference/gdk/tmpl/properties.sgml: Document the above
+ as GDK_NONE instead of simply 0.
+
Thu Feb 12 15:46:26 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
@window: a #GdkWindow.
@property: the property to retrieve.
-@type: the desired property type, or 0, if any type of data
+@type: the desired property type, or %GDK_NONE, if any type of data
is acceptable. If this does not match the actual
type, then @actual_format and @actual_length will
be filled in, a warning will be printed to stderr
if (type == GDK_NONE)
xtype = AnyPropertyType;
else
- xtype = GDK_NONE;
+ xtype = gdk_x11_atom_to_xatom_for_display (display, type);
ret_data = NULL;
mult_atoms = NULL;
gdk_error_trap_push ();
- if (!gdk_property_get (info->requestor, event->property, 0, /* AnyPropertyType */
+ if (!gdk_property_get (info->requestor, event->property, GDK_NONE, /* AnyPropertyType */
0, GTK_SELECTION_MAX_SIZE, FALSE,
&type, &format, &length, &mult_atoms))
{