Date: Mon, 25 Feb 2002 09:38:37 +0100 From: Alan Schmitt To: lablgtk at kaba.or.jp Subject: lablgtk and mingw32 Message-ID: <20020225093837.T1282 at alan-schm1p> Mail-Followup-To: lablgtk at kaba.or.jp References: <20020225172224J.garrigue at kurims.kyoto-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: =?iso-8859-1?Q?=3C20020225172224J=2Egarrigue=40kurims=2Ekyoto-u=2Eac=2Ej?= =?iso-8859-1?Q?p=3E=3B_from_garrigue=40kurims=2Ekyoto-u=2Eac=2Ejp_on_lun?= =?iso-8859-1?Q?=2C_f=E9v_25=2C_2002_at_05:22:24_+0900?= Hi, I finally succeded compiling lablgtk with mingw32, but I have a couple questions about this. First, the ml_gdk.c includes gdk/win32/gdkwin32.h which is not provided as such by the current stable mingw32 port of gtk (it is instead in gdk/ directly). Unfortunately, changing the include does not help much since the included file tries to include another file (gdk_privatewin32.h if I remember correctly) which is not provided by the port. I have asked the win32 gtk port mailing list about this, and they answered that including gdkwin32.h is not a good idea anyway. I have told them what it is needed for (the GDK_ROOT_PARENT and GDK_WINDOW_XWINDOW macros), and will report their answer about this when it comes. Another little problem is the fact that the deprecated functions g_set_warning_handler and g_set_error_handler has been removed from the port they distribute (the code should use g_log_set_handler instead). Is it difficult to add a binding for this later function, so as to be able to compile lablgtk out of the box (I must say I cheated and removed the set_warning_handler altogether). Thanks, Alan -- The hacker: someone who figured things out and made something cool happen.