[gtk/gdk-cleanups: 4/4] gdk: Move GdkSurfaceEdge to the right header
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gdk-cleanups: 4/4] gdk: Move GdkSurfaceEdge to the right header
- Date: Thu, 10 Sep 2020 04:48:15 +0000 (UTC)
commit d5d4af585d5a5340f174700d95f7b9e394dcbe9f
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 10 00:44:05 2020 -0400
gdk: Move GdkSurfaceEdge to the right header
This is only used in gdktoplevel.h, so move it there.
docs/reference/gdk/gdk4-sections.txt | 2 +-
gdk/gdksurface.h | 25 -------------------------
gdk/gdktoplevel.h | 25 +++++++++++++++++++++++++
3 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 60d5a47e3a..c601c44407 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -171,7 +171,6 @@ gdk_rgba_get_type
<FILE>gdksurface</FILE>
GdkSurface
GdkGravity
-GdkSurfaceEdge
gdk_surface_new_toplevel
gdk_surface_new_popup
gdk_surface_destroy
@@ -656,6 +655,7 @@ gdk_toplevel_size_get_type
GdkToplevel
GdkToplevelState
GdkFullscreenMode
+GdkSurfaceEdge
gdk_toplevel_present
gdk_toplevel_minimize
gdk_toplevel_lower
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index 72e9b79258..6b2cfcd03b 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -38,31 +38,6 @@
G_BEGIN_DECLS
-/**
- * GdkSurfaceEdge:
- * @GDK_SURFACE_EDGE_NORTH_WEST: the top left corner.
- * @GDK_SURFACE_EDGE_NORTH: the top edge.
- * @GDK_SURFACE_EDGE_NORTH_EAST: the top right corner.
- * @GDK_SURFACE_EDGE_WEST: the left edge.
- * @GDK_SURFACE_EDGE_EAST: the right edge.
- * @GDK_SURFACE_EDGE_SOUTH_WEST: the lower left corner.
- * @GDK_SURFACE_EDGE_SOUTH: the lower edge.
- * @GDK_SURFACE_EDGE_SOUTH_EAST: the lower right corner.
- *
- * Determines a surface edge or corner.
- */
-typedef enum
-{
- GDK_SURFACE_EDGE_NORTH_WEST,
- GDK_SURFACE_EDGE_NORTH,
- GDK_SURFACE_EDGE_NORTH_EAST,
- GDK_SURFACE_EDGE_WEST,
- GDK_SURFACE_EDGE_EAST,
- GDK_SURFACE_EDGE_SOUTH_WEST,
- GDK_SURFACE_EDGE_SOUTH,
- GDK_SURFACE_EDGE_SOUTH_EAST
-} GdkSurfaceEdge;
-
typedef struct _GdkSurfaceClass GdkSurfaceClass;
#define GDK_TYPE_SURFACE (gdk_surface_get_type ())
diff --git a/gdk/gdktoplevel.h b/gdk/gdktoplevel.h
index cd06e36886..0cae8e4eb8 100644
--- a/gdk/gdktoplevel.h
+++ b/gdk/gdktoplevel.h
@@ -30,6 +30,31 @@
G_BEGIN_DECLS
+/**
+ * GdkSurfaceEdge:
+ * @GDK_SURFACE_EDGE_NORTH_WEST: the top left corner.
+ * @GDK_SURFACE_EDGE_NORTH: the top edge.
+ * @GDK_SURFACE_EDGE_NORTH_EAST: the top right corner.
+ * @GDK_SURFACE_EDGE_WEST: the left edge.
+ * @GDK_SURFACE_EDGE_EAST: the right edge.
+ * @GDK_SURFACE_EDGE_SOUTH_WEST: the lower left corner.
+ * @GDK_SURFACE_EDGE_SOUTH: the lower edge.
+ * @GDK_SURFACE_EDGE_SOUTH_EAST: the lower right corner.
+ *
+ * Determines a surface edge or corner.
+ */
+typedef enum
+{
+ GDK_SURFACE_EDGE_NORTH_WEST,
+ GDK_SURFACE_EDGE_NORTH,
+ GDK_SURFACE_EDGE_NORTH_EAST,
+ GDK_SURFACE_EDGE_WEST,
+ GDK_SURFACE_EDGE_EAST,
+ GDK_SURFACE_EDGE_SOUTH_WEST,
+ GDK_SURFACE_EDGE_SOUTH,
+ GDK_SURFACE_EDGE_SOUTH_EAST
+} GdkSurfaceEdge;
+
/**
* GdkFullscreenMode:
* @GDK_FULLSCREEN_ON_CURRENT_MONITOR: Fullscreen on current monitor only.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]