mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 05:30:28 +00:00
b75aa67bbe
This is left over from an old effort to bundle gtk and its dependencies into a Mac OS X Framework. The effort was more or less successful but proved difficult to maintain and impractical to use because gtk programs don't use the special Framework include syntax.
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
/* GDK - The GIMP Drawing Kit
|
|
* gdkdisplaymanager-quartz.c
|
|
*
|
|
* Copyright (C) 2005 Imendio AB
|
|
* 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
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include <ApplicationServices/ApplicationServices.h>
|
|
|
|
#include "gdkquartzdisplay.h"
|
|
#include "gdkquartzdisplaymanager.h"
|
|
#include "gdkprivate-quartz.h"
|
|
|
|
#include "gdkdisplaymanagerprivate.h"
|
|
#include "gdkinternals.h"
|
|
|
|
struct _GdkQuartzDisplayManager
|
|
{
|
|
GdkDisplayManager parent;
|
|
};
|
|
|
|
|
|
G_DEFINE_TYPE (GdkQuartzDisplayManager, gdk_quartz_display_manager, GDK_TYPE_DISPLAY_MANAGER)
|
|
|
|
static void
|
|
gdk_quartz_display_manager_init (GdkQuartzDisplayManager *manager)
|
|
{
|
|
}
|
|
|
|
static void
|
|
gdk_quartz_display_manager_finalize (GObject *object)
|
|
{
|
|
g_error ("A GdkQuartzDisplayManager object was finalized. This should not happen");
|
|
G_OBJECT_CLASS (gdk_quartz_display_manager_parent_class)->finalize (object);
|
|
}
|
|
|
|
static void
|
|
gdk_quartz_display_manager_class_init (GdkQuartzDisplayManagerClass *class)
|
|
{
|
|
GObjectClass *object_class = G_OBJECT_CLASS (class);
|
|
GdkDisplayManagerClass *manager_class = GDK_DISPLAY_MANAGER_CLASS (class);
|
|
|
|
object_class->finalize = gdk_quartz_display_manager_finalize;
|
|
}
|