GdkWindow -> GdkSurface: File renames

Rename all *window.[ch] source files.

This is an automatic operation, done by the following commands:

for i in $(git ls-files gdk | grep window); do
    git mv $i $(echo $i | sed s/window/surface/);
    git sed -f g $(basename $i) $(basename $i | sed s/window/surface/) ;
done

git checkout NEWS* po-properties po
This commit is contained in:
Alexander Larsson 2018-03-20 11:46:11 +01:00
parent 391727bd0d
commit 890080ebf7
77 changed files with 92 additions and 92 deletions

View File

@ -37,7 +37,7 @@ enum
static Bug data[] =
{
{ FALSE, 60482, "Normal", "scrollable notebooks and hidden tabs" },
{ FALSE, 60620, "Critical", "gdk_surface_clear_area (gdkwindow-win32.c) is not thread-safe" },
{ FALSE, 60620, "Critical", "gdk_surface_clear_area (gdksurface-win32.c) is not thread-safe" },
{ FALSE, 50214, "Major", "Xft support does not clean up correctly" },
{ TRUE, 52877, "Major", "GtkFileSelection needs a refresh method. " },
{ FALSE, 56070, "Normal", "Can't click button after setting in sensitive" },

View File

@ -30,7 +30,7 @@
#define __GDKBROADWAY_H_INSIDE__
#include <gdk/broadway/gdkbroadwaydisplay.h>
#include <gdk/broadway/gdkbroadwaywindow.h>
#include <gdk/broadway/gdkbroadwaysurface.h>
#include <gdk/broadway/gdkbroadwaycursor.h>
#include <gdk/broadway/gdkbroadwaymonitor.h>

View File

@ -20,7 +20,7 @@
#include "gdkdevice-broadway.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkprivate-broadway.h"
static gboolean gdk_broadway_device_get_history (GdkDevice *device,

View File

@ -26,7 +26,7 @@
#include "gdkdisplayprivate.h"
#include "gdkkeys.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
#include "gdkbroadway-server.h"
#include "gdkmonitorprivate.h"

View File

@ -31,11 +31,11 @@
#include <gdk/gdkcursor.h>
#include <gdk/gdkinternals.h>
#include "gdkwindow-broadway.h"
#include "gdksurface-broadway.h"
#include "gdkdisplay-broadway.h"
#include "gdkbroadwaycursor.h"
#include "gdkbroadwaywindow.h"
#include "gdkbroadwaysurface.h"
void _gdk_broadway_resync_windows (void);

View File

@ -25,12 +25,12 @@
#include "config.h"
#include "gdkwindow-broadway.h"
#include "gdksurface-broadway.h"
#include "gdkbroadwaydisplay.h"
#include "gdkdisplay.h"
#include "gdkwindow.h"
#include "gdkwindowimpl.h"
#include "gdksurface.h"
#include "gdksurfaceimpl.h"
#include "gdkdisplay-broadway.h"
#include "gdkprivate-broadway.h"
#include "gdkinternals.h"

View File

@ -25,7 +25,7 @@
#ifndef __GDK_SURFACE_BROADWAY_H__
#define __GDK_SURFACE_BROADWAY_H__
#include <gdk/gdkwindowimpl.h>
#include <gdk/gdksurfaceimpl.h>
G_BEGIN_DECLS

View File

@ -12,12 +12,12 @@ gdk_broadway_sources = files([
'gdkkeys-broadway.c',
'gdkmonitor-broadway.c',
'gdkselection-broadway.c',
'gdkwindow-broadway.c',
'gdksurface-broadway.c',
])
gdk_broadway_public_headers = [
'gdkbroadwaydisplay.h',
'gdkbroadwaywindow.h',
'gdkbroadwaysurface.h',
'gdkbroadwaycursor.h',
'gdkbroadwaymonitor.h',
]

View File

@ -67,7 +67,7 @@
#include <gdk/gdktexture.h>
#include <gdk/gdktypes.h>
#include <gdk/gdkvulkancontext.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <gdk/gdk-autocleanup.h>

View File

@ -31,7 +31,7 @@
#include "gdkdeviceprivate.h"
#include "gdkdisplaymanagerprivate.h"
#include "gdkevents.h"
#include "gdkwindowimpl.h"
#include "gdksurfaceimpl.h"
#include "gdkinternals.h"
#include "gdkmonitorprivate.h"

View File

@ -19,7 +19,7 @@
#define __GDK_DISPLAY_PRIVATE_H__
#include "gdkdisplay.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkcursor.h"
#include "gdkmonitor.h"
#include "gdkinternals.h"

View File

@ -26,7 +26,7 @@
#include "gdkdndprivate.h"
#include "gdkdisplay.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkintl.h"
#include "gdkcontentformats.h"
#include "gdkcontentprovider.h"

View File

@ -49,7 +49,7 @@
#include "gdkinternals.h"
#include "gdkintl.h"
#include "gdkframeclockidle.h"
#include "gdkwindowimpl.h"
#include "gdksurfaceimpl.h"
#include "gdkglcontextprivate.h"
#include "gdk-private.h"

View File

@ -28,7 +28,7 @@
#define __GDK_INTERNALS_H__
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "gdkwindowimpl.h"
#include "gdksurfaceimpl.h"
#include "gdkdisplay.h"
#include "gdkeventsprivate.h"
#include "gdkenumtypes.h"

View File

@ -24,7 +24,7 @@
#include "gdkpixbuf.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
#include <gdk-pixbuf/gdk-pixbuf.h>

View File

@ -25,7 +25,7 @@
#endif
#include <glib-object.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <gdk/gdkevents.h>
#include <gdk/gdktypes.h>

View File

@ -27,7 +27,7 @@
#include <cairo-gobject.h>
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkrectangle.h"
#include "gdkinternals.h"
@ -36,7 +36,7 @@
#include "gdkdeviceprivate.h"
#include "gdkmarshalers.h"
#include "gdkframeclockidle.h"
#include "gdkwindowimpl.h"
#include "gdksurfaceimpl.h"
#include "gdkglcontextprivate.h"
#include "gdkdrawingcontextprivate.h"
#include "gdk-private.h"

View File

@ -157,7 +157,7 @@ typedef enum
} GdkWMFunction;
/* Currently, these are the same values numerically as in the
* X protocol. If you change that, gdkwindow-x11.c/gdk_surface_set_geometry_hints()
* X protocol. If you change that, gdksurface-x11.c/gdk_surface_set_geometry_hints()
* will need fixing.
*/
/**

View File

@ -24,7 +24,7 @@
#include "config.h"
#include "gdkwindowimpl.h"
#include "gdksurfaceimpl.h"
#include "gdkinternals.h"

View File

@ -25,7 +25,7 @@
#ifndef __GDK_SURFACE_IMPL_H__
#define __GDK_SURFACE_IMPL_H__
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <gdk/gdkproperty.h>
G_BEGIN_DECLS

View File

@ -42,8 +42,8 @@ gdk_public_sources = files([
'gdksnapshot.c',
'gdktexture.c',
'gdkvulkancontext.c',
'gdkwindow.c',
'gdkwindowimpl.c',
'gdksurface.c',
'gdksurfaceimpl.c',
])
gdk_public_headers = files([
@ -86,7 +86,7 @@ gdk_public_headers = files([
'gdktexture.h',
'gdktypes.h',
'gdkvulkancontext.h',
'gdkwindow.h',
'gdksurface.h',
])
install_headers(gdk_public_headers, subdir: 'gtk-4.0/gdk/')

View File

@ -18,7 +18,7 @@
#include "config.h"
#import "GdkQuartzNSWindow.h"
#include "gdkquartzwindow.h"
#include "gdkquartzsurface.h"
#include "gdkdnd-quartz.h"
#include "gdkprivate-quartz.h"

View File

@ -19,7 +19,7 @@
#include "config.h"
#import "GdkQuartzView.h"
#include "gdkquartzwindow.h"
#include "gdkquartzsurface.h"
#include "gdkprivate-quartz.h"
#include "gdkquartz.h"

View File

@ -22,7 +22,7 @@
#include <gdk/gdkdisplayprivate.h>
#import "GdkQuartzView.h"
#include "gdkquartzwindow.h"
#include "gdkquartzsurface.h"
#include "gdkquartzcursor.h"
#include "gdkprivate-quartz.h"
#include "gdkquartzdevice-core.h"

View File

@ -23,7 +23,7 @@
#include "gdkprivate-quartz.h"
#include "gdkquartzscreen.h"
#include "gdkquartzwindow.h"
#include "gdkquartzsurface.h"
#include "gdkquartzdisplay.h"
#include "gdkquartzdevicemanager-core.h"
#include "gdkmonitorprivate.h"

View File

@ -22,7 +22,7 @@
#include "gdkdisplayprivate.h"
#include "gdkkeys.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
G_BEGIN_DECLS

View File

@ -624,7 +624,7 @@ find_toplevel_under_pointer (GdkDisplay *display,
* under the pointer and we thus return NULL. This can occur when
* toplevel under pointer has not yet been updated due to a very recent
* window resize. Alternatively, we should no longer be relying on
* the toplevel_under_pointer value which is maintained in gdkwindow.c.
* the toplevel_under_pointer value which is maintained in gdksurface.c.
*/
if (*x < 0 || *y < 0 || *x >= toplevel->width || *y >= toplevel->height)
return NULL;

View File

@ -24,7 +24,7 @@
#define __GDK_QUARTZ_GL_CONTEXT__
#include "gdkglcontextprivate.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
G_BEGIN_DECLS

View File

@ -1,4 +1,4 @@
/* gdkwindow-quartz.c
/* gdksurface-quartz.c
*
* Copyright (C) 2005-2007 Imendio AB
*
@ -26,7 +26,7 @@
#include <gdk/quartz/gdkdevicemanager-core-quartz.h>
#include <gdk/quartz/gdkdnd-quartz.h>
#include <gdk/quartz/gdkscreen-quartz.h>
#include <gdk/quartz/gdkwindow-quartz.h>
#include <gdk/quartz/gdksurface-quartz.h>
#include <gdk/gdk.h>

View File

@ -80,7 +80,7 @@ G_END_DECLS
#include <gdk/quartz/gdkquartzmonitor.h>
#include <gdk/quartz/gdkquartzscreen.h>
#include <gdk/quartz/gdkquartzutils.h>
#include <gdk/quartz/gdkquartzwindow.h>
#include <gdk/quartz/gdkquartzsurface.h>
#undef __GDKQUARTZ_H_INSIDE__

View File

@ -1,4 +1,4 @@
/* gdkquartzwindow.h
/* gdkquartzsurface.h
*
* Copyright (C) 2005 Imendio AB
* Copyright (C) 2010 Kristian Rietveld <kris@gtk.org>

View File

@ -55,7 +55,7 @@
* coordinate space. Such coordinates are mapped to their respective
* position in the GdkScreen root window (_gdk_quartz_surface_xy_to_gdk_xy)
* and vice versa (_gdk_quartz_surface_gdk_xy_to_xy). Both functions can
* be found in gdkwindow-quartz.c. Note that Cocoa coordinates can have
* be found in gdksurface-quartz.c. Note that Cocoa coordinates can have
* negative values (in case a monitor is located left or below of screen 0),
* but GDK coordinates can *not*!
*/

View File

@ -1,4 +1,4 @@
/* gdkwindow-quartz.c
/* gdksurface-quartz.c
*
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
* Copyright (C) 2005-2007 Imendio AB
@ -23,7 +23,7 @@
#include <gdk/gdkdeviceprivate.h>
#include <gdk/gdkdisplayprivate.h>
#include "gdkwindowimpl.h"
#include "gdksurfaceimpl.h"
#include "gdkprivate-quartz.h"
#include "gdkglcontext-quartz.h"
#include "gdkquartzscreen.h"

View File

@ -21,7 +21,7 @@
#import <gdk/quartz/GdkQuartzView.h>
#import <gdk/quartz/GdkQuartzNSWindow.h>
#include "gdk/gdkwindowimpl.h"
#include "gdk/gdksurfaceimpl.h"
G_BEGIN_DECLS

View File

@ -16,7 +16,7 @@ gdk_quartz_sources = files([
'gdkscreen-quartz.c',
'gdkselection-quartz.c',
'gdkutils-quartz.c',
'gdkwindow-quartz.c',
'gdksurface-quartz.c',
])
gdk_quartz_public_headers = files([
@ -29,7 +29,7 @@ gdk_quartz_public_headers = files([
'gdkquartzkeys.h',
'gdkquartzscreen.h',
'gdkquartzutils.h',
'gdkquartzwindow.h',
'gdkquartzsurface.h',
])
install_headers(gdk_quartz_public_headers, subdir: 'gtk-4.0/gdk/quartz/')

View File

@ -22,7 +22,7 @@
#include <errno.h>
#include <string.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <gdk/gdktypes.h>
#include "gdkclipboard-wayland.h"
#include "gdkclipboardprivate.h"

View File

@ -37,7 +37,7 @@
#include <glib.h>
#include <gdk/gdkkeys.h>
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <gdk/gdkinternals.h>
#include <gdk/gdk.h> /* For gdk_get_program_class() */

View File

@ -26,7 +26,7 @@
#include "gdkwaylanddisplay.h"
#include "gdkwaylandglcontext.h"
#include "gdkwaylandwindow.h"
#include "gdkwaylandsurface.h"
#include "gdkprivate-wayland.h"
#include "gdkinternals.h"

View File

@ -24,7 +24,7 @@
#include "gdkglcontextprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
#include <epoxy/egl.h>

View File

@ -23,8 +23,8 @@
#include "gdk.h"
#include "gdkwayland.h"
#include "gdkwindow.h"
#include "gdkwindowimpl.h"
#include "gdksurface.h"
#include "gdksurfaceimpl.h"
#include "gdkdisplay-wayland.h"
#include "gdkglcontext-wayland.h"
#include "gdkframeclockprivate.h"

View File

@ -28,7 +28,7 @@
#include "gdkinternals.h"
#include "gdkwaylanddisplay.h"
#include "gdkwaylandwindow.h"
#include "gdkwaylandsurface.h"
#include "gdkprivate-wayland.h"
G_DEFINE_TYPE (GdkWaylandVulkanContext, gdk_wayland_vulkan_context, GDK_TYPE_VULKAN_CONTEXT)

View File

@ -32,7 +32,7 @@
#include <gdk/wayland/gdkwaylanddevice.h>
#include <gdk/wayland/gdkwaylanddisplay.h>
#include <gdk/wayland/gdkwaylandmonitor.h>
#include <gdk/wayland/gdkwaylandwindow.h>
#include <gdk/wayland/gdkwaylandsurface.h>
#include <gdk/wayland/gdkwaylandglcontext.h>
#undef __GDKWAYLAND_H_INSIDE__

View File

@ -12,7 +12,7 @@ gdk_wayland_sources = files([
'gdkprimary-wayland.c',
'gdkselection-wayland.c',
'gdkvulkancontext-wayland.c',
'gdkwindow-wayland.c',
'gdksurface-wayland.c',
'wm-button-layout-translation.c',
])
@ -21,7 +21,7 @@ gdk_wayland_public_headers = files([
'gdkwaylanddisplay.h',
'gdkwaylandglcontext.h',
'gdkwaylandmonitor.h',
'gdkwaylandwindow.h'
'gdkwaylandsurface.h'
])
install_headers(gdk_wayland_public_headers, subdir: 'gtk-4.0/gdk/wayland/')

View File

@ -934,7 +934,7 @@ _gdk_win32_display_get_maximal_cursor_size (GdkDisplay *display,
/* Convert a pixbuf to an HICON (or HCURSOR). Supports alpha under
* Windows XP, thresholds alpha otherwise. Also used from
* gdkwindow-win32.c for creating application icons.
* gdksurface-win32.c for creating application icons.
*/
static HBITMAP

View File

@ -17,7 +17,7 @@
#include "config.h"
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <windowsx.h>
#include <objbase.h>

View File

@ -17,7 +17,7 @@
#include "config.h"
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <windowsx.h>
#include <objbase.h>

View File

@ -17,7 +17,7 @@
#include "config.h"
#include <gdk/gdkwindow.h>
#include <gdk/gdksurface.h>
#include <windowsx.h>
#include <objbase.h>

View File

@ -28,7 +28,7 @@
#include "gdkglcontext-win32.h"
#include "gdkwin32display.h"
#include "gdkwin32screen.h"
#include "gdkwin32window.h"
#include "gdkwin32surface.h"
#include "gdkmonitor-win32.h"
#include "gdkwin32.h"
#include "gdkvulkancontext-win32.h"

View File

@ -23,7 +23,7 @@
#include "config.h"
#include "gdkprivate-win32.h"
#include "gdkwindow-win32.h"
#include "gdksurface-win32.h"
#include "gdkglcontext-win32.h"
#include "gdkdisplay-win32.h"
@ -31,10 +31,10 @@
#include "gdkwin32glcontext.h"
#include "gdkwin32misc.h"
#include "gdkwin32screen.h"
#include "gdkwin32window.h"
#include "gdkwin32surface.h"
#include "gdkglcontext.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
#include "gdkintl.h"

View File

@ -26,7 +26,7 @@
#include "gdkglcontextprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
G_BEGIN_DECLS

View File

@ -35,7 +35,7 @@
#endif
#include <gdk/gdkcursorprivate.h>
#include <gdk/win32/gdkwindow-win32.h>
#include <gdk/win32/gdksurface-win32.h>
#include <gdk/win32/gdkwin32display.h>
#include <gdk/win32/gdkwin32screen.h>
#include <gdk/win32/gdkwin32keys.h>

View File

@ -29,7 +29,7 @@
#include <stdlib.h>
#include "gdk.h"
#include "gdkwindowimpl.h"
#include "gdksurfaceimpl.h"
#include "gdkprivate-win32.h"
#include "gdkdeviceprivate.h"
#include "gdkdevicemanager-win32.h"
@ -37,7 +37,7 @@
#include "gdkwin32.h"
#include "gdkdisplayprivate.h"
#include "gdkmonitorprivate.h"
#include "gdkwin32window.h"
#include "gdkwin32surface.h"
#include "gdkglcontext-win32.h"
#include "gdkdisplay-win32.h"

View File

@ -26,7 +26,7 @@
#define __GDK_SURFACE_WIN32_H__
#include "gdk/win32/gdkprivate-win32.h"
#include "gdk/gdkwindowimpl.h"
#include "gdk/gdksurfaceimpl.h"
#include "gdk/gdkcursor.h"
#include <windows.h>

View File

@ -33,7 +33,7 @@
#include <gdk/win32/gdkwin32dnd.h>
#include <gdk/win32/gdkwin32keys.h>
#include <gdk/win32/gdkwin32screen.h>
#include <gdk/win32/gdkwin32window.h>
#include <gdk/win32/gdkwin32surface.h>
#include <gdk/win32/gdkwin32misc.h>
#include <gdk/win32/gdkwin32monitor.h>
#include <gdk/win32/gdkwin32glcontext.h>

View File

@ -21,7 +21,7 @@ gdk_win32_sources = files([
'gdkwin32cursor.h',
'gdkwin32display.h',
'gdkwin32id.c',
'gdkwindow-win32.c',
'gdksurface-win32.c',
])
gdk_win32_public_headers = files([
@ -34,7 +34,7 @@ gdk_win32_public_headers = files([
'gdkwin32misc.h',
'gdkwin32monitor.h',
'gdkwin32screen.h',
'gdkwin32window.h',
'gdkwin32surface.h',
])
install_headers(gdk_win32_public_headers, subdir: 'gtk-4.0/gdk/win32/')

View File

@ -22,7 +22,7 @@
#include "gdkdeviceprivate.h"
#include "gdkinternals.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"
#include "gdkasync.h"

View File

@ -24,7 +24,7 @@
#include "gdkdisplayprivate.h"
#include "gdkkeys.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
#include "gdkx11devicemanager.h"
#include "gdkx11display.h"

View File

@ -20,7 +20,7 @@
#include "gdkeventsource.h"
#include "gdkinternals.h"
#include "gdkwindow-x11.h"
#include "gdksurface-x11.h"
#include "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"
#include "xsettings-client.h"

View File

@ -18,7 +18,7 @@
#include "config.h"
#include "gdkeventtranslator.h"
#include "gdkwindow-x11.h"
#include "gdksurface-x11.h"
typedef GdkEventTranslatorIface GdkEventTranslatorInterface;
G_DEFINE_INTERFACE (GdkEventTranslator, _gdk_x11_event_translator, G_TYPE_OBJECT);

View File

@ -22,7 +22,7 @@
#include "gdkprivate-x11.h"
#include "gdkscreen-x11.h"
#include "gdkdisplay-x11.h"
#include "gdkwindow-x11.h"
#include "gdksurface-x11.h"
typedef struct _GdkSurfaceQueueItem GdkSurfaceQueueItem;

View File

@ -28,7 +28,7 @@
#include "gdkx11display.h"
#include "gdkx11glcontext.h"
#include "gdkx11screen.h"
#include "gdkx11window.h"
#include "gdkx11surface.h"
#include "gdkvisual-x11.h"
#include "gdkx11property.h"
#include <X11/Xatom.h>

View File

@ -30,7 +30,7 @@
#include "gdkglcontextprivate.h"
#include "gdkdisplayprivate.h"
#include "gdkvisual-x11.h"
#include "gdkwindow.h"
#include "gdksurface.h"
#include "gdkinternals.h"
G_BEGIN_DECLS

View File

@ -32,7 +32,7 @@
#include "gdkcursor.h"
#include "gdkinternals.h"
#include "gdkx.h"
#include "gdkwindow-x11.h"
#include "gdksurface-x11.h"
#include "gdkscreen-x11.h"
#include <X11/Xlib.h>

View File

@ -27,7 +27,7 @@
#include "gdkintl.h"
#include "gdkx11display.h"
#include "gdkx11property.h"
#include "gdkx11window.h"
#include "gdkx11surface.h"
typedef struct GdkX11SelectionInputStreamPrivate GdkX11SelectionInputStreamPrivate;

View File

@ -29,7 +29,7 @@
#include "gdktextlistconverter-x11.h"
#include "gdkx11display.h"
#include "gdkx11property.h"
#include "gdkx11window.h"
#include "gdkx11surface.h"
typedef struct _GdkX11PendingSelectionNotify GdkX11PendingSelectionNotify;
typedef struct _GdkX11SelectionOutputStreamPrivate GdkX11SelectionOutputStreamPrivate;

View File

@ -25,10 +25,10 @@
#include "config.h"
#include "gdkwindow-x11.h"
#include "gdksurface-x11.h"
#include "gdkwindow.h"
#include "gdkwindowimpl.h"
#include "gdksurface.h"
#include "gdksurfaceimpl.h"
#include "gdkvisual-x11.h"
#include "gdkinternals.h"
#include "gdkdeviceprivate.h"

View File

@ -26,7 +26,7 @@
#define __GDK_SURFACE_X11_H__
#include "gdk/x11/gdkprivate-x11.h"
#include "gdk/gdkwindowimpl.h"
#include "gdk/gdksurfaceimpl.h"
#include <X11/Xlib.h>

View File

@ -28,7 +28,7 @@
#include "gdkinternals.h"
#include "gdkdisplay-x11.h"
#include "gdkwindow-x11.h"
#include "gdksurface-x11.h"
G_DEFINE_TYPE (GdkX11VulkanContext, gdk_x11_vulkan_context, GDK_TYPE_VULKAN_CONTEXT)

View File

@ -48,7 +48,7 @@
#include <gdk/x11/gdkx11screen.h>
#include <gdk/x11/gdkx11selection.h>
#include <gdk/x11/gdkx11utils.h>
#include <gdk/x11/gdkx11window.h>
#include <gdk/x11/gdkx11surface.h>
#include <gdk/x11/gdkx-autocleanups.h>

View File

@ -26,7 +26,7 @@ gdk_x11_sources = files([
'gdktextlistconverter-x11.c',
'gdkvisual-x11.c',
'gdkvulkancontext-x11.c',
'gdkwindow-x11.c',
'gdksurface-x11.c',
'gdkxftdefaults.c',
'gdkxid.c',
'xsettings-client.c',
@ -50,7 +50,7 @@ gdk_x11_public_headers = files([
'gdkx11screen.h',
'gdkx11selection.h',
'gdkx11utils.h',
'gdkx11window.h',
'gdkx11surface.h',
])
install_headers(gdk_x11_public_headers, subdir: 'gtk-4.0/gdk/x11/')

View File

@ -28,7 +28,7 @@
#include <gdk/x11/gdkx11display.h>
#include <gdk/x11/gdkx11property.h>
#include <gdk/x11/gdkx11screen.h>
#include <gdk/x11/gdkx11window.h>
#include <gdk/x11/gdkx11surface.h>
#include <gdk/x11/gdkprivate-x11.h>
#include <gdk/x11/gdkdisplay-x11.h>
#include <gdk/x11/gdkscreen-x11.h>

View File

@ -1091,7 +1091,7 @@ gtk_drag_begin_idle (gpointer arg)
}
/* Fake protocol to let us call GdkNSView gdkWindow without including
* gdk/GdkNSView.h (which we cant because it pulls in the internal-only
* gdkwindow.h).
* gdksurface.h).
*/
@protocol GdkNSView
- (GdkSurface *)gdkWindow;

View File

@ -5974,7 +5974,7 @@ gtk_window_finalize (GObject *object)
G_OBJECT_CLASS (gtk_window_parent_class)->finalize (object);
}
/* copied from gdkwindow-x11.c */
/* copied from gdksurface-x11.c */
static const gchar *
get_default_title (void)
{