Stumped on gtk+ 1.2.1 compile again.....



I found a patch for X11R5 to X11R6 from the new tcl/tk library for
xlib.h and that took care of the x11 error messages.  But now I have an
error message I think is telling me it has a parse error. 

gdkregion.c: In function `gdk_region_empty':
gdkregion.c:74: void value not ignored as it ought to be
gdkregion.c:75: warning: control reaches end of non-void function
gdkregion.c: In function `gdk_region_equal':
gdkregion.c:90: void value not ignored as it ought to be
gdkregion.c:91: warning: control reaches end of non-void function
*** Error code 1

This is the code:
 
gboolean
gdk_region_empty (GdkRegion      *region)
{
  GdkRegionPrivate *private;
 
  g_return_val_if_fail (region != NULL, 0);
 
  private = (GdkRegionPrivate *) region;
 
  return XEmptyRegion (private->xregion);
};

As I have not ever run into this error message before, could someone
give me a hint so I know how to proceed next.

Thanks
Mike
-- 
============================================================================
The views expressed in this email are strictly mine and do not represent
any official or unofficial policy of any other legal entity.



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