forked from AuroraMiddleware/gtk
Hide GdkDisplayClass from public header
There is no need for apps to access this class, as its only implemented in the gdk backends, and we want to be free to change it later.
This commit is contained in:
parent
ac7d55c948
commit
f1c32f109d
@ -116,22 +116,6 @@ struct _GdkDisplay
|
||||
GdkDeviceManager *GSEAL (device_manager);
|
||||
};
|
||||
|
||||
struct _GdkDisplayClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
G_CONST_RETURN gchar * (*get_display_name) (GdkDisplay *display);
|
||||
gint (*get_n_screens) (GdkDisplay *display);
|
||||
GdkScreen * (*get_screen) (GdkDisplay *display,
|
||||
gint screen_num);
|
||||
GdkScreen * (*get_default_screen) (GdkDisplay *display);
|
||||
|
||||
|
||||
/* Signals */
|
||||
void (*closed) (GdkDisplay *display,
|
||||
gboolean is_error);
|
||||
};
|
||||
|
||||
/**
|
||||
* GdkDisplayPointerHooks:
|
||||
* @get_pointer: Obtains the current pointer position and modifier state.
|
||||
|
@ -271,6 +271,22 @@ struct _GdkWindow
|
||||
#define GDK_WINDOW_TYPE(d) (((GDK_WINDOW (d)))->window_type)
|
||||
#define GDK_WINDOW_DESTROYED(d) (GDK_WINDOW (d)->destroyed)
|
||||
|
||||
struct _GdkDisplayClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
G_CONST_RETURN gchar * (*get_name) (GdkDisplay *display);
|
||||
gint (*get_n_screens) (GdkDisplay *display);
|
||||
GdkScreen * (*get_screen) (GdkDisplay *display,
|
||||
gint screen_num);
|
||||
GdkScreen * (*get_default_screen) (GdkDisplay *display);
|
||||
|
||||
|
||||
/* Signals */
|
||||
void (*closed) (GdkDisplay *display,
|
||||
gboolean is_error);
|
||||
};
|
||||
|
||||
extern GSList *_gdk_displays;
|
||||
extern gchar *_gdk_display_name;
|
||||
extern gint _gdk_screen_number;
|
||||
|
Loading…
Reference in New Issue
Block a user