gdk: Remove GdkAtom

finally!!!!!
This commit is contained in:
Benjamin Otte 2020-02-23 01:54:38 +01:00
parent f536cf0a43
commit cc7c1fe108
3 changed files with 1 additions and 15 deletions

View File

@ -1,10 +1,4 @@
# GdkAtom is an opaque typedef
<TYPEDEF>
<NAME>GdkAtom</NAME>
typedef struct _GdkAtom *GdkAtom;
</TYPEDEF>
<MACRO>
<NAME>GDK_WINDOWING_X11</NAME>
#define GDK_WINDOWING_X11

View File

@ -108,14 +108,6 @@ typedef struct _GdkRectangle GdkRectangle;
typedef cairo_rectangle_int_t GdkRectangle;
#endif
/**
* GdkAtom:
*
* An opaque type representing a string as an index into a table
* of strings on the X server.
*/
typedef const char *GdkAtom;
/* Forward declarations of commonly used types */
typedef struct _GdkRGBA GdkRGBA;
typedef struct _GdkContentFormats GdkContentFormats;

View File

@ -13,7 +13,7 @@ test_to_text_list (void)
if (GDK_IS_X11_DISPLAY (display))
{
GdkAtom encoding;
const char *encoding;
gint format;
const guchar *text;
gint length;