forked from AuroraMiddleware/gtk
3963d5aa76
gdk_threads_mutex, gdk_threads_lock and gdk_threads_unlock are removed from public API. gdk_threads_mutex was deprecated already. Instead of using gdk_threads_lock and _unlock one was presumably supposed to use the GDK_THREADS_ENTER and _LEAVE macros, which now simply call the corresponding gdk_threads_enter() and _leave() functions. Remove he dllimport/dllexport ugliness for GDK for Windows. There is still a gdk_display variable being exported by the X11 backend.
46 lines
1.6 KiB
C
46 lines
1.6 KiB
C
/* GDK - The GIMP Drawing Kit
|
|
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
/*
|
|
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
|
|
* file for a list of people on the GTK+ Team. See the ChangeLog
|
|
* files for a list of changes. These files are distributed with
|
|
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "gdktypes.h"
|
|
#include "gdkprivate.h"
|
|
|
|
|
|
guint _gdk_debug_flags = 0;
|
|
gint _gdk_error_code = 0;
|
|
gint _gdk_error_warnings = TRUE;
|
|
GList *_gdk_default_filters = NULL;
|
|
gchar *_gdk_display_name = NULL;
|
|
gint _gdk_screen_number = -1;
|
|
gchar *_gdk_display_arg_name = NULL;
|
|
gboolean _gdk_native_windows = FALSE;
|
|
gboolean _gdk_enable_multidevice = FALSE;
|
|
|
|
GSList *_gdk_displays = NULL;
|