quartz: remove gdkmain-quartz.c

This commit is contained in:
Kristian Rietveld 2010-12-23 13:09:01 +01:00
parent caa9794af8
commit f15934bd66
5 changed files with 16 additions and 52 deletions

View File

@ -35,7 +35,6 @@ libgdk_quartz_la_SOURCES = \
gdkgeometry-quartz.c \
gdkglobals-quartz.c \
gdkkeys-quartz.c \
gdkmain-quartz.c \
gdkprivate-quartz.h \
gdkproperty-quartz.c \
gdkquartz.h \

View File

@ -261,6 +261,14 @@ _gdk_quartz_display_get_next_serial (GdkDisplay *display)
return 0;
}
static void
_gdk_quartz_display_notify_startup_complete (GdkDisplay *display,
const gchar *startup_id)
{
/* FIXME: Implement? */
}
G_DEFINE_TYPE (GdkQuartzDisplay, _gdk_quartz_display, GDK_TYPE_DISPLAY)
static void

View File

@ -1,46 +0,0 @@
/* gdkmain-quartz.c
*
* Copyright (C) 2005 Imendio AB
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include "gdk.h"
const GOptionEntry _gdk_windowing_args[] = {
{ NULL }
};
void
_gdk_windowing_init (void)
{
}
void
_gdk_quartz_display_notify_startup_complete (GdkDisplay *display,
const gchar *startup_id)
{
/* FIXME: Implement? */
}
void
_gdk_quartz_window_set_startup_id (GdkWindow *window,
const gchar *startup_id)
{
/* FIXME: Implement? */
}

View File

@ -124,8 +124,6 @@ void _gdk_quartz_window_translate (GdkWindow *window,
gboolean _gdk_quartz_window_queue_antiexpose (GdkWindow *window,
cairo_region_t *area);
void _gdk_quartz_window_set_startup_id (GdkWindow *window,
const gchar *startup_id);
void _gdk_quartz_window_register_dnd (GdkWindow *window);
GdkDragContext * _gdk_quartz_window_drag_begin (GdkWindow *window,
GdkDevice *device,
@ -155,8 +153,6 @@ void _gdk_quartz_display_get_maximal_cursor_size (GdkDisplay *display,
guint *height);
void _gdk_quartz_display_before_process_all_updates (GdkDisplay *display);
void _gdk_quartz_display_after_process_all_updates (GdkDisplay *display);
void _gdk_quartz_display_notify_startup_complete (GdkDisplay *display,
const gchar *id);
void _gdk_quartz_display_event_data_copy (GdkDisplay *display,
const GdkEvent *src,
GdkEvent *dst);

View File

@ -2142,6 +2142,13 @@ gdk_quartz_window_set_role (GdkWindow *window,
/* FIXME: Implement */
}
static void
gdk_quartz_window_set_startup_id (GdkWindow *window,
const gchar *startup_id)
{
/* FIXME: Implement? */
}
static void
gdk_quartz_window_set_transient_for (GdkWindow *window,
GdkWindow *parent)
@ -2982,7 +2989,7 @@ gdk_window_impl_quartz_class_init (GdkWindowImplQuartzClass *klass)
impl_class->set_geometry_hints = gdk_quartz_window_set_geometry_hints;
impl_class->set_title = gdk_quartz_window_set_title;
impl_class->set_role = gdk_quartz_window_set_role;
impl_class->set_startup_id = _gdk_quartz_window_set_startup_id;
impl_class->set_startup_id = gdk_quartz_window_set_startup_id;
impl_class->set_transient_for = gdk_quartz_window_set_transient_for;
impl_class->get_root_origin = gdk_quartz_window_get_root_origin;
impl_class->get_frame_extents = gdk_quartz_window_get_frame_extents;