g_date_set_time error on folder selection

2005-10-16 Thread Nick Watts
On Windows XP. I've got a GtkFileChooser widget set up with the GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER action. Whenever I go to the My Pictures directory with the file chooser widget, I get a whole bunch of identical errors that all say: Glib-CRITICAL **: g_date_set_time: assertion 'ptm != NULL'

Re: compiling g_module plugin on (msvc) win32 [was] on (cygwin) win32

2005-10-16 Thread Iago Rubio
On Sun, 2005-10-16 at 00:54 +0300, Tor Lillqvist wrote: Olivier Sessink writes: How can I fix the linking stage on cygwin/win32 ?? First, mark the functions in the sources for the main .exe that are to be used by other modules with G_MODULE_EXPORT. Then you must decide whether you want

How to use pixmaps in GTK+ applications?

2005-10-16 Thread 周清博
Hi, I'm new to GTK development. In Windows environment, pixmaps are often compiled into the binary as resources. Or by making an installer, they can be installed as ordinary files, in a location that fixed relative to the binary executable. My question is, how to use pixmaps in GTK+? Can I make

Put a callback on a specific entry of a GtkComboBox

2005-10-16 Thread Guillaume Desmottes
Hi! I would like to put a callback when a specific entry of a GtkComboBox is clicked. In fact, i open a popup when this entry is clicked. If i use the changed signal, the popup is open at the init if this entry is the default value. The other problem is than if this entry is selected and i

Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Chris Vine
On Sunday 16 October 2005 08:03, 周清博 wrote: Hi, I'm new to GTK development. In Windows environment, pixmaps are often compiled into the binary as resources. Or by making an installer, they can be installed as ordinary files, in a location that fixed relative to the binary executable. My

Re: How to use pixmaps in GTK+ applications?

2005-10-16 Thread Brian J. Tarricone
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iago Rubio wrote: On Sun, 2005-10-16 at 15:03 +0800, 周清博 wrote: If I use them as ordinary files, how can I know the path after users' installation? What should I do in the configure.ac and Makefile.am? You should install them in a known