Debian Codegraph @

gdk/win32/gdkdisplaymanager-win32.c

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