[gtk+] Move GdkWindowWindowClass to private headers



commit 953e76284329754367654fbe671036470c4851af
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jul 19 23:09:02 2017 -0400

    Move GdkWindowWindowClass to private headers
    
    This enum is no longer used in public api.

 gdk/gdkinternals.h |    7 +++++++
 gdk/gdkwindow.h    |   17 -----------------
 2 files changed, 7 insertions(+), 17 deletions(-)
---
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index c5d0406..fdcd374 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -156,6 +156,13 @@ struct _GdkEventPrivate
 
 typedef struct _GdkWindowPaint GdkWindowPaint;
 
+typedef enum
+{
+  GDK_INPUT_OUTPUT,
+  GDK_INPUT_ONLY
+} GdkWindowWindowClass;
+
+
 struct _GdkWindowAttr
 {
   gint event_mask;
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 5204869..fc45232 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -40,23 +40,6 @@ G_BEGIN_DECLS
 typedef struct _GdkGeometry          GdkGeometry;
 
 /**
- * GdkWindowWindowClass:
- * @GDK_INPUT_OUTPUT: window for graphics and events
- * @GDK_INPUT_ONLY: window for events only
- *
- * @GDK_INPUT_OUTPUT windows are the standard kind of window you might expect.
- * Such windows receive events and are also displayed on screen.
- * @GDK_INPUT_ONLY windows are invisible; they are usually placed above other
- * windows in order to trap or filter the events. You can’t draw on
- * @GDK_INPUT_ONLY windows.
- */
-typedef enum
-{
-  GDK_INPUT_OUTPUT, /*< nick=input-output >*/
-  GDK_INPUT_ONLY    /*< nick=input-only >*/
-} GdkWindowWindowClass;
-
-/**
  * GdkWindowType:
  * @GDK_WINDOW_ROOT: root window; this window has no parent, covers the entire
  *  screen, and is created by the window system


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