GNOME Bugzilla – Bug 62113
gdk dumps core on 64 bit systems
Last modified: 2011-02-04 16:09:32 UTC
There are places in gdk which assume that when X says format 32 it actually means it. Here's a patch that does the correct thing, that is, use longs and not ints. There is no difference on a 32bit system, but this patch makes all the difference on a 64bit system (as in, gtk will actually work with this:)
Created attachment 5805 [details] [review] patch to fix some 64bit issues in gdk
Please commit.
I have committed these fixes. ChangeLog is: 2001-10-27 Anders Carlsson <andersca@gnu.org> * gdk/x11/gdkmain-x11.c: Replace int and guint with long and gulong in some places to make the code 64-bit clean. (_gdk_windowing_init_check): Replace gint with gulong. This patch was made by George Lebl and fixes bug #62113. * tests/testgtk.c (create_range_controls): Don't set a fixed height on the hscale widget. This fixes "bug" #55840. (create_window_states): Set up destroy signals so that all windows will be destroyed when one is. This fixes bug #58133.