gdkdisplaymanager-x11.c 1.67 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* GDK - The GIMP Drawing Kit
 * gdkdisplaymanager-x11.c
 *
 * Copyright 2010 Red Hat, Inc.
 *
 * Author: Matthias clasen
 *
 * 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
Javier Jardón's avatar
Javier Jardón committed
19
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
20 21 22 23
 */

#include "config.h"

24 25
#include "gdkx11displaymanager.h"
#include "gdkdisplaymanagerprivate.h"
26 27 28 29 30
#include "gdkdisplay-x11.h"
#include "gdkprivate-x11.h"

#include "gdkinternals.h"

31
struct _GdkX11DisplayManager
32 33 34 35
{
  GdkDisplayManager parent;
};

36 37 38 39 40
struct _GdkX11DisplayManagerClass
{
  GdkDisplayManagerClass parent_class;
};

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 59
{
  GObjectClass *object_class = G_OBJECT_CLASS (class);

60
  object_class->finalize = gdk_x11_display_manager_finalize;
61
}