]> Pileus Git - ~andy/gtk/blobdiff - gdk/x11/gdkinput-x11.c
Miscellaneous minor fixes to remove ANSI C incompatibilities
[~andy/gtk] / gdk / x11 / gdkinput-x11.c
index 7f0ab8c379e67650766994955481b91d6ffc0564..80e9d0deda39016cc7bfd51a9626600a204ce9d6 100644 (file)
@@ -72,9 +72,11 @@ gdk_input_get_root_relative_geometry(Display *dpy, Window w, int *x_ret, int *y_
 {
   Window root,parent;
   Window *children;
-  int nchildren;
-  int x,y,width,height;
-  int xc,yc,widthc,heightc,border_widthc,depthc;
+  guint nchildren;
+  gint x,y;
+  guint width, height;
+  gint xc,yc;
+  guint widthc,heightc,border_widthc,depthc;
   
   XQueryTree(dpy,w,&root,&parent,&children,&nchildren);
   if (children) XFree(children);