[gtk+] window: Use int instead of uint consistently



commit 6e6837a130d943ad3eb3c1b0ebc20578ced4f3c6
Author: Benjamin Otte <otte redhat com>
Date:   Tue Apr 26 22:40:37 2011 +0200

    window: Use int instead of uint consistently

 gtk/gtkwindow.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 0b78866..23872f4 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -6196,8 +6196,8 @@ _gtk_window_unset_focus_and_default (GtkWindow *window,
 static void
 geometry_size_to_pixels (GdkGeometry *geometry,
 			 guint        flags,
-			 guint       *width,
-			 guint       *height)
+			 gint        *width,
+			 gint        *height)
 {
   gint base_width = 0;
   gint base_height = 0;
@@ -6233,8 +6233,8 @@ static void
 gtk_window_compute_configure_request_size (GtkWindow   *window,
                                            GdkGeometry *geometry,
                                            guint        flags,
-                                           guint       *width,
-                                           guint       *height)
+                                           gint        *width,
+                                           gint        *height)
 {
   GtkWindowPrivate *priv = window->priv;
   GtkRequisition requisition;
@@ -6453,7 +6453,7 @@ gtk_window_compute_configure_request (GtkWindow    *window,
   gtk_window_compute_hints (window, &new_geometry, &new_flags);
   gtk_window_compute_configure_request_size (window,
                                              &new_geometry, new_flags,
-                                             (guint *)&w, (guint *)&h);
+                                             &w, &h);
 
   gtk_window_constrain_size (window,
                              &new_geometry, new_flags,



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