Debian Codegraph @

gdk/quartz/gdkdisplaymanager-quartz.c

raw
1 /* GDK - The GIMP Drawing Kit
2 * gdkdisplaymanager-quartz.c
3 *
4 * Copyright (C) 2005 Imendio AB
5 * Copyright 2010 Red Hat, Inc.
6 *
7 * Author: Matthias clasen
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
18 *
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 */
22
23 #include "config.h"
24
25 #include <ApplicationServices/ApplicationServices.h>
26
27 #include "gdkquartzdisplay.h"
28 #include "gdkquartzdisplaymanager.h"
29 #include "gdkprivate-quartz.h"
30
31 #include "gdkdisplaymanagerprivate.h"
32 #include "gdkinternals.h"
33
34 struct _GdkQuartzDisplayManager
35 {
36 GdkDisplayManager parent;
37 };
38
39
40 G_DEFINE_TYPE (GdkQuartzDisplayManager, gdk_quartz_display_manager, GDK_TYPE_DISPLAY_MANAGER)
41
42 static void
43 gdk_quartz_display_manager_init (GdkQuartzDisplayManager *manager)
44 {
45 }
46
47 static void
48 gdk_quartz_display_manager_finalize (GObject *object)
49 {
50 g_error ("A GdkQuartzDisplayManager object was finalized. This should not happen");
51 G_OBJECT_CLASS (gdk_quartz_display_manager_parent_class)->finalize (object);
52 }
53
54 static void
55 gdk_quartz_display_manager_class_init (GdkQuartzDisplayManagerClass *class)
56 {
57 GObjectClass *object_class = G_OBJECT_CLASS (class);
58
59 object_class->finalize = gdk_quartz_display_manager_finalize;
60 }