Remove gdk/gdkx.h

It was just a kludge.
This commit is contained in:
Matthias Clasen 2017-11-16 23:00:01 -05:00
parent 39386275a4
commit 95876cbc9c
5 changed files with 4 additions and 35 deletions

View File

@ -1,31 +0,0 @@
/* 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, see <http://www.gnu.org/licenses/>.
*/
/*
* 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/.
*/
/* This is a kludge to be able to include gdk/gdkx.h from inside the
* GTK source tree.
* Also, this hopefully serves as a warning to new backends to put
* their header into the backend dir from the start.
*/
#include <gdk/x11/gdkx.h>

View File

@ -22,7 +22,7 @@
#include "gtkapplicationprivate.h" #include "gtkapplicationprivate.h"
#include <gdk/gdkx.h> #include <gdk/x11/gdkx.h>
typedef GtkApplicationImplDBusClass GtkApplicationImplX11Class; typedef GtkApplicationImplDBusClass GtkApplicationImplX11Class;

View File

@ -20,7 +20,7 @@
#include <gdk/gdk.h> #include <gdk/gdk.h>
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h> #include <gdk/x11/gdkx.h>
#endif #endif
#ifdef GDK_WINDOWING_WAYLAND #ifdef GDK_WINDOWING_WAYLAND
#include <wayland/gdkwayland.h> #include <wayland/gdkwayland.h>

View File

@ -20,7 +20,7 @@
#include <string.h> #include <string.h>
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
# include <gdk/gdkx.h> # include <gdk/x11/gdkx.h>
#endif #endif

View File

@ -1,7 +1,7 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h> #include <gdk/x11/gdkx.h>
#include <X11/Xatom.h> #include <X11/Xatom.h>
#endif #endif