Drop gdkintl.h

This header was merely including gi18n-lib.h.
Just do that directly.
This commit is contained in:
Matthias Clasen 2022-09-23 23:33:42 -04:00
parent a8af7caae1
commit 4aabc45685
59 changed files with 58 additions and 88 deletions

View File

@ -34,7 +34,7 @@
#ifdef G_OS_WIN32
#include <windows.h>
#endif
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
typedef struct BroadwayInput BroadwayInput;

View File

@ -32,7 +32,7 @@
#include "gdkdebugprivate.h"
#include "gdkdisplay.h"
#include "gdkglcontextprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate.h"
#include <glib/gprintf.h>

View File

@ -22,7 +22,7 @@
#include "gdkapplaunchcontextprivate.h"
#include "gdkdisplay.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
/**

View File

@ -26,7 +26,7 @@
#include "gdkcontentproviderprivate.h"
#include "gdkcontentserializer.h"
#include "gdkdisplay.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkpipeiostreamprivate.h"
#include "gdktexture.h"
#include "gdkprivate.h"

View File

@ -22,7 +22,7 @@
#include "gdkclipboard.h"
#include "gdkcontentformats.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate.h"
/**

View File

@ -24,7 +24,7 @@
#include "gdkcontentformats.h"
#include "gdkcontentserializer.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkcontentproviderimpl.h"
#include "gdkprivate.h"

View File

@ -30,7 +30,7 @@
#include "gdkcursor.h"
#include "gdkcursorprivate.h"
#include "gdktexture.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <math.h>
#include <errno.h>

View File

@ -22,7 +22,7 @@
#include "gdkdeviceprivate.h"
#include "gdkdevicetool.h"
#include "gdkdisplayprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkkeysprivate.h"
/**

View File

@ -21,7 +21,7 @@
#include "gdkdevicetoolprivate.h"
#include "gdkenumtypes.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
/**
* GdkDeviceTool:

View File

@ -24,7 +24,7 @@
#include "gdkdisplay.h"
#include "gdkdisplayprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate.h"
#include "gdkapplaunchcontext.h"

View File

@ -28,7 +28,7 @@
#include "gdkdisplaymanagerprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkkeysprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#ifdef GDK_WINDOWING_X11
#include "x11/gdkx.h"

View File

@ -42,7 +42,7 @@
#include "gdkdragprivate.h"
#include "gdkdisplay.h"
#include "gdksurface.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkcontentformats.h"
#include "gdkcontentprovider.h"
#include "gdkcontentserializer.h"

View File

@ -21,7 +21,7 @@
#include "gdkprivate.h"
#include "gdkdragsurfaceprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
/**
* GdkDragSurface:

View File

@ -23,7 +23,7 @@
#include "gdkdrawcontextprivate.h"
#include "gdkdebugprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprofilerprivate.h"
#include "gdksurfaceprivate.h"

View File

@ -49,7 +49,7 @@
#include "gdkdragprivate.h"
#include "gdkenumtypes.h"
#include "gdkeventsprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkpipeiostreamprivate.h"
#include "gdksurface.h"

View File

@ -28,7 +28,7 @@
#include "gdkdragprivate.h"
#include "gdkdropprivate.h"
#include "gdkeventsprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkkeysprivate.h"
#include "gdkkeysyms.h"
#include "gdkprivate.h"

View File

@ -78,7 +78,7 @@
#include "gdkdebugprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkmemoryformatprivate.h"
#include "gdkmemorytextureprivate.h"
#include "gdkprofilerprivate.h"

View File

@ -1,30 +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/.
*/
#ifndef __GDKINTL_H__
#define __GDKINTL_H__
#include <glib/gi18n-lib.h>
#endif

View File

@ -19,7 +19,7 @@
#include "gdkpango.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <math.h>
#include <pango/pangocairo.h>

View File

@ -20,7 +20,7 @@
#include "config.h"
#include "gdkprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkpopupprivate.h"
/**

View File

@ -25,7 +25,7 @@
#include "gdkdevicetoolprivate.h"
#include "gdkseatprivate.h"
#include "gdkdeviceprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
/**
* GdkSeat:

View File

@ -37,7 +37,7 @@
#include "gdkeventsprivate.h"
#include "gdkframeclockidleprivate.h"
#include "gdkglcontextprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkmarshalers.h"
#include "gdkpopupprivate.h"
#include "gdkrectangle.h"

View File

@ -39,7 +39,7 @@
#include "gdktextureprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkmemorytextureprivate.h"
#include "gdkpaintable.h"
#include "gdksnapshot.h"

View File

@ -23,7 +23,7 @@
#include "gdkdisplay.h"
#include "gdkenumtypes.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate.h"
#include <graphene-gobject.h>

View File

@ -25,7 +25,7 @@
#include "gdkvulkancontextprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
/**
* GdkVulkanContext:

View File

@ -21,7 +21,7 @@
#include "gdkjpegprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdktexture.h"
#include "gdkmemorytextureprivate.h"

View File

@ -19,7 +19,7 @@
#include "gdkpngprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkmemoryformatprivate.h"
#include "gdkmemorytextureprivate.h"
#include "gdkprofilerprivate.h"

View File

@ -19,7 +19,7 @@
#include "gdktiffprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkmemoryformatprivate.h"
#include "gdkmemorytextureprivate.h"
#include "gdkprofilerprivate.h"

View File

@ -28,7 +28,7 @@
#include "gdk/gdkdeviceprivate.h"
#include "gdk/gdkeventsprivate.h"
#include "gdk/gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdk/gdkseatprivate.h"
#include "gdk/gdkprivate.h"

View File

@ -26,7 +26,7 @@
#include "gdkwayland.h"
#include "gdkprivate-wayland.h"
#include "gdkapplaunchcontextprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
typedef struct {
gchar *token;

View File

@ -21,7 +21,7 @@
#include "gdkclipboard-wayland.h"
#include "gdkcontentformats.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-wayland.h"
#include "gdkprivate.h"

View File

@ -22,7 +22,7 @@
#include "gdkprivate-wayland.h"
#include "gdkcontentformats.h"
#include "gdkdisplay-wayland.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkseat-wayland.h"
#include "gdkdeviceprivate.h"

View File

@ -22,7 +22,7 @@
#include "gdkprivate-wayland.h"
#include "gdkcontentformats.h"
#include "gdkdisplay-wayland.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkseat-wayland.h"
#include "gdkdeviceprivate.h"

View File

@ -35,7 +35,7 @@
#include "gdksurfaceprivate.h"
#include "gdkprofilerprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
/**
* GdkWaylandGLContext:

View File

@ -21,7 +21,7 @@
#include "gdkclipboardprivate.h"
#include "gdkcontentformats.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-wayland.h"
#include "gdkprivate.h"

View File

@ -21,7 +21,7 @@
#include "gdkclipboard-win32.h"
#include "gdkdebugprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-win32.h"
#include "gdkhdataoutputstream-win32.h"
#include "gdk/gdkprivate.h"

View File

@ -286,7 +286,7 @@ Otherwise it's similar to how the clipboard works. Only the DnD server
#include "gdk/gdkdebugprivate.h"
#include "gdk/gdkdragprivate.h"
#include "gdk/gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdk/gdkprivate.h"
#define HIDA_GetPIDLFolder(pida) (LPCITEMIDLIST)(((LPBYTE)pida)+(pida)->aoffset[0])

View File

@ -22,7 +22,7 @@
#include "gdkcursor.h"
#include "gdkwin32.h"
#include "gdktextureprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkdisplay-win32.h"

View File

@ -214,7 +214,7 @@
#include <shlobj.h>
#include <shlguid.h>
#include <objidl.h>
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <glib/gstdio.h>

View File

@ -56,7 +56,7 @@
#include <shlobj.h>
#include <shlguid.h>
#include <objidl.h>
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <glib/gstdio.h>

View File

@ -35,7 +35,7 @@
#include "gdkglcontext.h"
#include "gdksurface.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <cairo.h>
#include <epoxy/egl.h>

View File

@ -35,7 +35,7 @@
#include "gdkglcontext.h"
#include "gdkprofilerprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdksurface.h"
#include <cairo.h>

View File

@ -35,7 +35,7 @@
#include "gdkglcontext.h"
#include "gdksurface.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <cairo.h>
#include <epoxy/wgl.h>

View File

@ -27,7 +27,7 @@
#include "gdkclipboard-win32.h"
#include "gdkdisplay-win32.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkwin32display.h"
#include "gdkwin32surface.h"

View File

@ -34,7 +34,7 @@
#include "gdk.h"
#include "gdkdebugprivate.h"
#include "gdkkeysyms.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-win32.h"
#include "gdkinput-dmanipulation.h"
#include "gdkwin32.h"

View File

@ -22,7 +22,7 @@
#include "gdkx11applaunchcontext.h"
#include "gdkapplaunchcontextprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"
#include "gdkprivate.h"

View File

@ -20,7 +20,7 @@
#include "gdkclipboardprivate.h"
#include "gdkclipboard-x11.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkdisplay-x11.h"
#include "gdkprivate-x11.h"
#include "gdkselectioninputstream-x11.h"

View File

@ -21,7 +21,7 @@
#include "gdkdeviceprivate.h"
#include "gdkdevice-xi2-private.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkasync.h"
#include "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"

View File

@ -28,7 +28,7 @@
#include "gdkkeys-x11.h"
#include "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkkeysyms.h"
#include "gdkseatdefaultprivate.h"

View File

@ -36,7 +36,7 @@
#include "gdkdragprivate.h"
#include "gdkeventsprivate.h"
#include "gdksurfaceprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-x11.h"
#include "gdkscreen-x11.h"
#include "gdkseatprivate.h"

View File

@ -33,7 +33,7 @@
#include "gdkdeviceprivate.h"
#include "gdkdisplay-x11.h"
#include "gdkdragprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-x11.h"
#include "gdkscreen-x11.h"
#include "gdkselectioninputstream-x11.h"

View File

@ -22,7 +22,7 @@
#include <X11/Xatom.h>
#include "gdkprofilerprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <cairo-xlib.h>

View File

@ -23,7 +23,7 @@
#include <X11/Xatom.h>
#include "gdkprofilerprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <cairo-xlib.h>

View File

@ -31,7 +31,7 @@
#include "gdkx11property.h"
#include <X11/Xatom.h>
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include <cairo-xlib.h>

View File

@ -25,7 +25,7 @@
#include "config.h"
#include "gdkdeviceprivate.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkasync.h"
#include "gdkdisplay-x11.h"
#include "gdkprivate-x11.h"

View File

@ -24,7 +24,7 @@
#include "gdkselectioninputstream-x11.h"
#include "gdkdisplay-x11.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkx11display.h"
#include "gdkx11property.h"
#include "gdkx11surface.h"

View File

@ -25,7 +25,7 @@
#include "gdkclipboard-x11.h"
#include "gdkdisplay-x11.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdktextlistconverter-x11.h"
#include "gdkx11display.h"
#include "gdkx11property.h"

View File

@ -22,7 +22,7 @@
#include "gdktextlistconverter-x11.h"
#include "gdkintl.h"
#include <glib/gi18n-lib.h>
#include "gdkprivate-x11.h"
#define GDK_X11_TEXT_LIST_CONVERTER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDK_TYPE_X11_TEXT_LIST_CONVERTER, GdkX11TextListConverterClass))

View File

@ -24,7 +24,7 @@
#include <gdk/gdkdisplayprivate.h>
#include <gdk/gdkglcontextprivate.h>
#include <gdk/gdksurfaceprivate.h>
#include <gdk/gdkintl.h>
#include <glib/gi18n-lib.h>
#include <gsk/gskdebugprivate.h>
#include <gsk/gskrendererprivate.h>
#include <gsk/gskrendernodeprivate.h>