| 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 |
#include "gdkinternals.h" |
| 28 |
|
| 29 |
struct _GdkWin32DisplayManager |
| 30 |
{ |
| 31 |
GdkDisplayManager parent_instance; |
| 32 |
}; |
| 33 |
|
| 34 |
struct _GdkWin32DisplayManagerClass |
| 35 |
{ |
| 36 |
GdkDisplayManagerClass parent_instance; |
| 37 |
}; |
| 38 |
|
| 39 |
G_DEFINE_TYPE (GdkWin32DisplayManager, gdk_win32_display_manager, GDK_TYPE_DISPLAY_MANAGER) |
| 40 |
|
| 41 |
static void |
| 42 |
gdk_win32_display_manager_init (GdkWin32DisplayManager *manager) |
| 43 |
{ |
| 44 |
} |
| 45 |
|
| 46 |
static void |
| 47 |
gdk_win32_display_manager_finalize (GObject *object) |
| 48 |
{ |
| 49 |
g_error ("A GdkWin32DisplayManager object was finalized. This should not happen"); |
| 50 |
G_OBJECT_CLASS (gdk_win32_display_manager_parent_class)->finalize (object); |
| 51 |
} |
| 52 |
|
| 53 |
static void |
| 54 |
gdk_win32_display_manager_class_init (GdkWin32DisplayManagerClass *class) |
| 55 |
{ |
| 56 |
GObjectClass *object_class = G_OBJECT_CLASS (class); |
| 57 |
|
| 58 |
object_class->finalize = gdk_win32_display_manager_finalize; |
| 59 |
|
| 60 |
#if 0 |
| 61 |
manager_class->atom_intern = _gdk_win32_display_manager_atom_intern; |
| 62 |
manager_class->get_atom_name = _gdk_win32_display_manager_get_atom_name; |
| 63 |
#endif |
| 64 |
} |