[gtk/gdk-cleanups: 1/4] Move GdkFullscreenMode to the right header




commit b3aa5ad4f92a8b34e65acf6b7cc0236b4c99aac8
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Sep 10 00:22:01 2020 -0400

    Move GdkFullscreenMode to the right header
    
    This enum is just used for a GdkToplevel property now,
    so move the declaration to the gdktoplevel.h header.

 gdk/gdksurface.h  | 14 --------------
 gdk/gdktoplevel.h | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index a03b02a4e3..dde646e807 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -63,20 +63,6 @@ typedef enum
   GDK_SURFACE_EDGE_SOUTH_EAST
 } GdkSurfaceEdge;
 
-/**
- * GdkFullscreenMode:
- * @GDK_FULLSCREEN_ON_CURRENT_MONITOR: Fullscreen on current monitor only.
- * @GDK_FULLSCREEN_ON_ALL_MONITORS: Span across all monitors when fullscreen.
- *
- * Indicates which monitor (in a multi-head setup) a surface should span over
- * when in fullscreen mode.
- **/
-typedef enum
-{
-  GDK_FULLSCREEN_ON_CURRENT_MONITOR,
-  GDK_FULLSCREEN_ON_ALL_MONITORS
-} GdkFullscreenMode;
-
 /**
  * GdkSurfaceState:
  * @GDK_SURFACE_STATE_WITHDRAWN: the surface is not shown
diff --git a/gdk/gdktoplevel.h b/gdk/gdktoplevel.h
index cd1bb74241..119be69e53 100644
--- a/gdk/gdktoplevel.h
+++ b/gdk/gdktoplevel.h
@@ -30,6 +30,20 @@
 
 G_BEGIN_DECLS
 
+/**
+ * GdkFullscreenMode:
+ * @GDK_FULLSCREEN_ON_CURRENT_MONITOR: Fullscreen on current monitor only.
+ * @GDK_FULLSCREEN_ON_ALL_MONITORS: Span across all monitors when fullscreen.
+ *
+ * Indicates which monitor (in a multi-head setup) a surface should span over
+ * when in fullscreen mode.
+ **/
+typedef enum
+{
+  GDK_FULLSCREEN_ON_CURRENT_MONITOR,
+  GDK_FULLSCREEN_ON_ALL_MONITORS
+} GdkFullscreenMode;
+
 #define GDK_TYPE_TOPLEVEL (gdk_toplevel_get_type ())
 
 GDK_AVAILABLE_IN_ALL


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]