1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* CDK - The GIMP Drawing Kit
 * cdkdisplaymanager-win32.c
 *
 * Copyright 2010 Hans Breuer
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

#include "config.h"

#include "cdkwin32display.h"
#include "cdkwin32displaymanager.h"
#include "cdkprivate-win32.h"

#include "cdkdisplaymanagerprivate.h"
#include "cdkinternals.h"

struct _CdkWin32DisplayManager
{
  CdkDisplayManager parent_instance;
};

struct _CdkWin32DisplayManagerClass
{
  CdkDisplayManagerClass parent_instance;
};

G_DEFINE_TYPE (CdkWin32DisplayManager, cdk_win32_display_manager, CDK_TYPE_DISPLAY_MANAGER)<--- There is an unknown macro here somewhere. Configuration is required. If G_DEFINE_TYPE is a macro then please configure it.

static void
cdk_win32_display_manager_init (CdkWin32DisplayManager *manager)
{
}

static void
cdk_win32_display_manager_finalize (GObject *object)
{
  g_error ("A CdkWin32DisplayManager object was finalized. This should not happen");
  G_OBJECT_CLASS (cdk_win32_display_manager_parent_class)->finalize (object);
}

static void
cdk_win32_display_manager_class_init (CdkWin32DisplayManagerClass *class)
{
  GObjectClass *object_class = G_OBJECT_CLASS (class);

  object_class->finalize = cdk_win32_display_manager_finalize;

#if 0
  manager_class->atom_intern = _cdk_win32_display_manager_atom_intern;
  manager_class->get_atom_name = _cdk_win32_display_manager_get_atom_name;
#endif
}