[gtk+] gdkwindow: Use GdkWindowHints instead of guint for flags



commit 4b42526e1f33b0ceb9231cee5e15861b97c05726
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Dec 12 19:29:03 2013 +0100

    gdkwindow: Use GdkWindowHints instead of guint for flags
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720342

 gdk/gdkwindow.c |   12 ++++++------
 gdk/gdkwindow.h |   12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 17a1125..5f4f7f9 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -4274,12 +4274,12 @@ gdk_window_set_debug_updates (gboolean setting)
  * set of geometry hints (such as minimum and maximum size).
  */
 void
-gdk_window_constrain_size (GdkGeometry *geometry,
-                          guint        flags,
-                          gint         width,
-                          gint         height,
-                          gint        *new_width,
-                          gint        *new_height)
+gdk_window_constrain_size (GdkGeometry    *geometry,
+                          GdkWindowHints  flags,
+                          gint            width,
+                          gint            height,
+                          gint           *new_width,
+                          gint           *new_height)
 {
   /* This routine is partially borrowed from fvwm.
    *
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index 0d89782..6bb66db 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -1048,12 +1048,12 @@ GDK_AVAILABLE_IN_ALL
 void       gdk_window_set_debug_updates   (gboolean      setting);
 
 GDK_AVAILABLE_IN_ALL
-void       gdk_window_constrain_size      (GdkGeometry  *geometry,
-                                           guint         flags,
-                                           gint          width,
-                                           gint          height,
-                                           gint         *new_width,
-                                           gint         *new_height);
+void       gdk_window_constrain_size      (GdkGeometry    *geometry,
+                                           GdkWindowHints  flags,
+                                           gint            width,
+                                           gint            height,
+                                           gint           *new_width,
+                                           gint           *new_height);
 
 GDK_DEPRECATED_IN_3_8
 void gdk_window_enable_synchronized_configure (GdkWindow *window);


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