summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-02-12 19:18:23 +0000
committerManish Singh <yosh@src.gnome.org>2004-02-12 19:18:23 +0000
commit7cf055efb317410c049540dca9e3ee7ae8708527 (patch)
tree0fbef783b284121c6d62e2ff54cb4088770cf67b /gdk
parent76665e8b0f8feaaec64df7e2eeb386afd8a55ffb (diff)
downloadgtk+-7cf055efb317410c049540dca9e3ee7ae8708527.tar.gz
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.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkproperty-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkproperty-x11.c b/gdk/x11/gdkproperty-x11.c
index 8f09cf8a9b..3f722492a9 100644
--- a/gdk/x11/gdkproperty-x11.c
+++ b/gdk/x11/gdkproperty-x11.c
@@ -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;