[gtk+] quartz: create gdkdisplaymanager-quartz.h
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] quartz: create gdkdisplaymanager-quartz.h
- Date: Wed, 22 Dec 2010 16:55:43 +0000 (UTC)
commit 5226ae3eccd85332559c4b102bd942937f39b7c1
Author: Kristian Rietveld <kris gtk org>
Date: Wed Dec 22 16:13:50 2010 +0100
quartz: create gdkdisplaymanager-quartz.h
gdk/quartz/gdkdisplaymanager-quartz.c | 16 +---------
gdk/quartz/gdkdisplaymanager-quartz.h | 48 +++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 14 deletions(-)
---
diff --git a/gdk/quartz/gdkdisplaymanager-quartz.c b/gdk/quartz/gdkdisplaymanager-quartz.c
index d555087..7761ec1 100644
--- a/gdk/quartz/gdkdisplaymanager-quartz.c
+++ b/gdk/quartz/gdkdisplaymanager-quartz.c
@@ -1,7 +1,7 @@
/* GDK - The GIMP Drawing Kit
* gdkdisplaymanager-quartz.c
*
- * Copyrighgt (C) 2005 Imendio AB
+ * Copyright (C) 2005 Imendio AB
* Copyright 2010 Red Hat, Inc.
*
* Author: Matthias clasen
@@ -28,24 +28,12 @@
#include <ApplicationServices/ApplicationServices.h>
#include "gdkdisplay-quartz.h"
+#include "gdkdisplaymanager-quartz.h"
#include "gdkprivate-quartz.h"
#include "gdkdisplaymanagerprivate.h"
#include "gdkinternals.h"
-#define GDK_TYPE_QUARTZ_DISPLAY_MANAGER (gdk_quartz_display_manager_get_type ())
-#define GDK_QUARTZ_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_QUARTZ_DISPLAY_MANAGER, GdkQuartzDisplayManager))
-
-typedef struct _GdkQuartzDisplayManager GdkQuartzDisplayManager;
-typedef struct _GdkDisplayManagerClass GdkQuartzDisplayManagerClass;
-
-struct _GdkQuartzDisplayManager
-{
- GdkDisplayManager parent;
-
- GdkDisplay *default_display;
- GSList *displays;
-};
G_DEFINE_TYPE (GdkQuartzDisplayManager, gdk_quartz_display_manager, GDK_TYPE_DISPLAY_MANAGER)
diff --git a/gdk/quartz/gdkdisplaymanager-quartz.h b/gdk/quartz/gdkdisplaymanager-quartz.h
new file mode 100644
index 0000000..b73f8cd
--- /dev/null
+++ b/gdk/quartz/gdkdisplaymanager-quartz.h
@@ -0,0 +1,48 @@
+/* gdkdisplaymanager-quartz.h
+ *
+ * Copyright (C) 2005-2007 Imendio AB
+ * Copyright 2010 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __GDK_QUARTZ_DISPLAYMANAGER_H__
+#define __GDK_QUARTZ_DISPLAYMANAGER_H__
+
+#include <gdk/gdk.h>
+#include <gdk/gdkdisplaymanagerprivate.h>
+
+G_BEGIN_DECLS
+
+#define GDK_TYPE_QUARTZ_DISPLAY_MANAGER (gdk_quartz_display_manager_get_type ())
+#define GDK_QUARTZ_DISPLAY_MANAGER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_QUARTZ_DISPLAY_MANAGER, GdkQuartzDisplayManager))
+
+typedef struct _GdkQuartzDisplayManager GdkQuartzDisplayManager;
+typedef struct _GdkDisplayManagerClass GdkQuartzDisplayManagerClass;
+
+struct _GdkQuartzDisplayManager
+{
+ GdkDisplayManager parent;
+
+ GdkDisplay *default_display;
+ GSList *displays;
+};
+
+GType gdk_quartz_display_manager_get_type (void);
+
+G_END_DECLS
+
+#endif /* __GDK_QUARTZ_DISPLAYMANAGER_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]