gtk_file_chooser and W98



I have a Windows application (developed under cygwin, compiled with -mno-cygwin agains gtk 2.4 headers). It 
has run OK on W98/2000/XP and Vista with 2.6.10 gtk-libraries. 

But now I wanted to add a filter for file selection. For this reason I updated the software from 
gtk_file_selection to gtk_file_chooser, which allows the use of gtk_file_filter-routines.

This did not work with the old libraries, even in XP. In XP I got the following warnings:

(b.exe:4044): Gtk-WARNING **: gtk_file_chooser_add_filter() called on filter already in list

(b.exe:4044): GLib-GObject-WARNING **: invalid uninstantiatable type `GFlags' in cast to `GtkFileFilter'

(b.exe:4044): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(b.exe:4044): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

With newer libraries (2.10) everything works fine on XP, but on W98 the program did not even start 
(complained about comdlg32.dll) with the new libraries.

I have understood that it is not possible to use newer than 2.6.10 libraries in W98. Is that so or is my W98 
missing some files?

Are there some critical bugs in 2.6.10 that do not allow the use of gtk_file_chooser (and gtk_file_filter)?

Is compiling against 2.4 headers still a good idea? That came from Tor's site: 
http://www.gimp.org/~tml/gimp/win32/downloads.html

Do I have to have separate versions for W98 and newer? I would not like that.

Joakim

...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku




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