Assign xtype using gdk_x11_atom_to_xatom_for_display () when type !=
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.
This commit is contained in:
committed by
Manish Singh
parent
76665e8b0f
commit
7cf055efb3
@ -508,7 +508,7 @@ gdk_property_get (GdkWindow *window,
|
||||
if (type == GDK_NONE)
|
||||
xtype = AnyPropertyType;
|
||||
else
|
||||
xtype = GDK_NONE;
|
||||
xtype = gdk_x11_atom_to_xatom_for_display (display, type);
|
||||
|
||||
ret_data = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user