diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-03-02 23:16:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-03-02 23:16:39 +0000 |
commit | 395ccd366abb57002d770fd905cb22dee14abc1e (patch) | |
tree | ed26427e9d56afa03ee417209a0e21ce6166f23b /gdk/gdkinputcommon.h | |
parent | 336228180258d0deb4804f33f0a2a281fe20a3d2 (diff) | |
download | gtk+-395ccd366abb57002d770fd905cb22dee14abc1e.tar.gz |
Miscellaneous minor fixes to remove ANSI C incompatibilities
Mon Mar 2 17:48:38 1998 Owen Taylor <owt1@cornell.edu>
Miscellaneous minor fixes to remove ANSI C incompatibilities
* gdk/gdkregion.c gtk/gtkclist.c: fix // comments
* gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of
some arguments to ANSI functions
* gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers
to void *
* gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp)
* gtk/gtknotebook.h: Bitfields must be gint or guint. (and should
be guint)
* gtk/gtkstatusbar.c: trailing ';'
* gtk/testgtk.c: GList where there should have been GSList
* glib.h gutils.c : changed g_strcasecmp
to take gchar* not guchar*
* testglib.c: Remove trailing ; after functions
Diffstat (limited to 'gdk/gdkinputcommon.h')
-rw-r--r-- | gdk/gdkinputcommon.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdk/gdkinputcommon.h b/gdk/gdkinputcommon.h index 7f0ab8c379..80e9d0deda 100644 --- a/gdk/gdkinputcommon.h +++ b/gdk/gdkinputcommon.h @@ -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); |