[gtk+/wip/attach-params: 88/109] gdkwindow: move GdkWindowEdge to gdktypes.h



commit e6e4d473a29e3f2af1a9121a48d2be57df003e55
Author: William Hua <william hua canonical com>
Date:   Wed Jan 20 02:20:20 2016 -0600

    gdkwindow: move GdkWindowEdge to gdktypes.h
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756579

 gdk/gdktypes.h  |   25 +++++++++++++++++++++++++
 gdk/gdkwindow.h |   26 --------------------------
 2 files changed, 25 insertions(+), 26 deletions(-)
---
diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h
index 57dc0fe..73ef76b 100644
--- a/gdk/gdktypes.h
+++ b/gdk/gdktypes.h
@@ -502,6 +502,31 @@ typedef enum {
 } GdkGLError;
 
 /**
+ * GdkWindowEdge:
+ * @GDK_WINDOW_EDGE_NORTH_WEST: the top left corner.
+ * @GDK_WINDOW_EDGE_NORTH: the top edge.
+ * @GDK_WINDOW_EDGE_NORTH_EAST: the top right corner.
+ * @GDK_WINDOW_EDGE_WEST: the left edge.
+ * @GDK_WINDOW_EDGE_EAST: the right edge.
+ * @GDK_WINDOW_EDGE_SOUTH_WEST: the lower left corner.
+ * @GDK_WINDOW_EDGE_SOUTH: the lower edge.
+ * @GDK_WINDOW_EDGE_SOUTH_EAST: the lower right corner.
+ *
+ * Determines a window edge or corner.
+ */
+typedef enum
+{
+  GDK_WINDOW_EDGE_NORTH_WEST,
+  GDK_WINDOW_EDGE_NORTH,
+  GDK_WINDOW_EDGE_NORTH_EAST,
+  GDK_WINDOW_EDGE_WEST,
+  GDK_WINDOW_EDGE_EAST,
+  GDK_WINDOW_EDGE_SOUTH_WEST,
+  GDK_WINDOW_EDGE_SOUTH,
+  GDK_WINDOW_EDGE_SOUTH_EAST
+} GdkWindowEdge;
+
+/**
  * GdkWindowTypeHint:
  * @GDK_WINDOW_TYPE_HINT_NORMAL: Normal toplevel window.
  * @GDK_WINDOW_TYPE_HINT_DIALOG: Dialog window.
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 2fc934f..e4c1b60 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -244,32 +244,6 @@ typedef enum
   GDK_GRAVITY_STATIC
 } GdkGravity;
 
-
-/**
- * GdkWindowEdge:
- * @GDK_WINDOW_EDGE_NORTH_WEST: the top left corner.
- * @GDK_WINDOW_EDGE_NORTH: the top edge.
- * @GDK_WINDOW_EDGE_NORTH_EAST: the top right corner.
- * @GDK_WINDOW_EDGE_WEST: the left edge.
- * @GDK_WINDOW_EDGE_EAST: the right edge.
- * @GDK_WINDOW_EDGE_SOUTH_WEST: the lower left corner.
- * @GDK_WINDOW_EDGE_SOUTH: the lower edge.
- * @GDK_WINDOW_EDGE_SOUTH_EAST: the lower right corner.
- *
- * Determines a window edge or corner.
- */
-typedef enum
-{
-  GDK_WINDOW_EDGE_NORTH_WEST,
-  GDK_WINDOW_EDGE_NORTH,
-  GDK_WINDOW_EDGE_NORTH_EAST,
-  GDK_WINDOW_EDGE_WEST,
-  GDK_WINDOW_EDGE_EAST,
-  GDK_WINDOW_EDGE_SOUTH_WEST,
-  GDK_WINDOW_EDGE_SOUTH,
-  GDK_WINDOW_EDGE_SOUTH_EAST  
-} GdkWindowEdge;
-
 /**
  * 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]