diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h index 381f45e844..bd99b1dd5a 100644 --- a/gdk/gdkdisplay.h +++ b/gdk/gdkdisplay.h @@ -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. diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index d9fa2c000a..65c3aa56d5 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -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;