[gtk+/gdk-backend: 6/91] Move GdkScreenClass to internal header
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend: 6/91] Move GdkScreenClass to internal header
- Date: Sat, 18 Dec 2010 01:06:19 +0000 (UTC)
commit 93a6cb412ad71b033b7f684086ee768b3ad4b6e4
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 6 20:39:53 2010 +0100
Move GdkScreenClass to internal header
gdk/gdkinternals.h | 9 +++++++++
gdk/gdkscreen.c | 1 +
gdk/gdkscreen.h | 9 ---------
3 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 5e47128..a5dcc73 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -350,6 +350,15 @@ struct _GdkKeymapClass
void (*state_changed) (GdkKeymap *keymap);
};
+struct _GdkScreenClass
+{
+ GObjectClass parent_class;
+
+ void (*size_changed) (GdkScreen *screen);
+ void (*composited_changed) (GdkScreen *screen);
+ void (*monitors_changed) (GdkScreen *screen);
+};
+
extern GSList *_gdk_displays;
extern gchar *_gdk_display_name;
extern gint _gdk_screen_number;
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index 71cabf5..79bcd97 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -24,6 +24,7 @@
#include "config.h"
#include "gdkscreen.h"
+#include "gdkinternals.h"
#include "gdkrectangle.h"
#include "gdkwindow.h"
diff --git a/gdk/gdkscreen.h b/gdk/gdkscreen.h
index 208c4cd..030caad 100644
--- a/gdk/gdkscreen.h
+++ b/gdk/gdkscreen.h
@@ -62,15 +62,6 @@ struct _GdkScreen
double GSEAL (resolution); /* pixels/points scale factor for fonts */
};
-struct _GdkScreenClass
-{
- GObjectClass parent_class;
-
- void (*size_changed) (GdkScreen *screen);
- void (*composited_changed) (GdkScreen *screen);
- void (*monitors_changed) (GdkScreen *screen);
-};
-
GType gdk_screen_get_type (void) G_GNUC_CONST;
GdkVisual* gdk_screen_get_system_visual (GdkScreen *screen);
GdkVisual * gdk_screen_get_rgba_visual (GdkScreen *screen);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]