3 * Copyright (C) 2005 Imendio AB
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
25 #include <ApplicationServices/ApplicationServices.h>
27 const GOptionEntry _gdk_windowing_args[] = {
32 _gdk_windowing_init (void)
34 ProcessSerialNumber psn = { 0, kCurrentProcess };
35 void (*_gtk_quartz_framework_init_ptr) (void);
37 /* Make the current process a foreground application, i.e. an app
38 * with a user interface, in case we're not running from a .app bundle
40 TransformProcessType (&psn, kProcessTransformToForegroundApplication);
42 /* Initialize GTK+ framework if there is one. */
43 _gtk_quartz_framework_init_ptr = dlsym (RTLD_DEFAULT, "_gtk_quartz_framework_init");
44 if (_gtk_quartz_framework_init_ptr)
45 _gtk_quartz_framework_init_ptr ();
49 gdk_error_trap_push (void)
54 gdk_error_trap_pop (void)
60 gdk_error_trap_pop_ignored (void)
65 gdk_notify_startup_complete (void)
67 /* FIXME: Implement? */
71 gdk_notify_startup_complete_with_id (const gchar* startup_id)
73 /* FIXME: Implement? */
77 gdk_window_set_startup_id (GdkWindow *window,
78 const gchar *startup_id)
80 /* FIXME: Implement? */