Debian Codegraph @

gdk/x11/gdkdisplaymanager-x11.c

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