In documentation GdkAtom is declared as a structure instead of a pointer
Submitted by Yann Droneaud
Link to original bug (#557779)
Description
In http://library.gnome.org/devel/gdk/unstable/gdk-Properties-and-Atoms.html#GdkAtom typedef struct _GdkAtom GdkAtom;
In gdk/gdktypes.h typedef struct _GdkAtom *GdkAtom;
In the documentation, GdkAtom is not a pointer but a structure.
It's harmless, but after reading the documentation I was wondering how I can safely compare 2 GdkAtom.
So I search all around the Gdk/Gtk source what was the content of the struct _GdkAtom to be sure the struct was mapped to a simple scalar like an XID.
I ask the question on IRC (#gtk+ on irc.gnome.org) and hopefuly "ebassi" show me the little star which is so helpful.
To sum up, the documentation should not miss the pointer type declaration, specify that GdkAtom are unique, and can be compared with == .
Version: 3.22.x