Multiple changes to reduce the amount of unprefixed symbols
The X11 backend exports a number of symbols which are _-prefixed (so don't become part of the gdk api), but are not named in a way to prevent accidental clashes between backends. The one API change here is that the gdk_xid_table functions have been removed - they did not server an purpose, since the xid table only stores windows anyway, and we already have a lookup-by-xid function for windows.
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GDK_TYPE_EVENT_TRANSLATOR (gdk_event_translator_get_type ())
|
||||
#define GDK_TYPE_EVENT_TRANSLATOR (_gdk_x11_event_translator_get_type ())
|
||||
#define GDK_EVENT_TRANSLATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDK_TYPE_EVENT_TRANSLATOR, GdkEventTranslator))
|
||||
#define GDK_IS_EVENT_TRANSLATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDK_TYPE_EVENT_TRANSLATOR))
|
||||
#define GDK_EVENT_TRANSLATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GDK_TYPE_EVENT_TRANSLATOR, GdkEventTranslatorIface))
|
||||
@ -50,15 +50,15 @@ struct _GdkEventTranslatorIface
|
||||
GdkEventMask event_mask);
|
||||
};
|
||||
|
||||
GType gdk_event_translator_get_type (void) G_GNUC_CONST;
|
||||
GType _gdk_x11_event_translator_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GdkEvent * gdk_event_translator_translate (GdkEventTranslator *translator,
|
||||
GdkDisplay *display,
|
||||
XEvent *xevent);
|
||||
GdkEventMask gdk_event_translator_get_handled_events (GdkEventTranslator *translator);
|
||||
void gdk_event_translator_select_window_events (GdkEventTranslator *translator,
|
||||
Window window,
|
||||
GdkEventMask event_mask);
|
||||
GdkEvent * _gdk_x11_event_translator_translate (GdkEventTranslator *translator,
|
||||
GdkDisplay *display,
|
||||
XEvent *xevent);
|
||||
GdkEventMask _gdk_x11_event_translator_get_handled_events (GdkEventTranslator *translator);
|
||||
void _gdk_x11_event_translator_select_window_events (GdkEventTranslator *translator,
|
||||
Window window,
|
||||
GdkEventMask event_mask);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user