Re: gtk_widget_destroy on_buttoncancel_cliked and g_free interaction causing issues.

2009-07-29 Thread Tadej Borovšak
Hi. So, I put it in the on_buttonclose_clicked callback, passing in this. I use the on_buttonclose_clicked callback for both the buttonclose clicked signal, and the window destroyed signal. One resolution would probably be to connect button clicked signal to different handler that would only

menu under toolitem in ui

2009-07-29 Thread Allin Cottrell
I'm trying to get a button on a toolbar to produce a menu. The GtkUIManager docs indicate this can be done but I haven't got the details right yet and I wonder if someone can put me on the right track. The ui definition is like this: const gchar *my_ui = ui toolbar name='ToolBar'

Re: Makeing librsvg work (bizp2.dll missing)

2009-07-29 Thread Hartmut Goebel
Hi Tor, Tor Lillqvist schrieb: Sure. Why is that a problem? Users (and I mean *real* end-users, not sophisticated people who have used Linux) should not even need to be aware that there is something called GTK+ and that some app in particular uses it. [...] I might well imagine that if

Outdated dependencies at ftp.gnome.org (was: Makeing librsvg work (bizp2.dll missing))

2009-07-29 Thread Hartmut Goebel
Hartmut Goebel schrieb: Tor Lillqvist schrieb: There is also a libbzip2 package on ftp.gnome.org: http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/libbzip2-1.0.2.zip Thanks for this pointer! I did not recognise the 'dependencies' directory. It would have made my life much, much

drawing area and motion hint mask

2009-07-29 Thread Emmanuel Touzery
Hello, I'm trying to detect mouse moves in a drawing area. The default behaviour without the GDK_POINTER_MOTION_HINT_MASK is as expected flooding me with events which I can't handle. So I added that flag, but I still get way too many events. In my handler I put this at the top:

Re: menu under toolitem in ui

2009-07-29 Thread Allin Cottrell
On Wed, 29 Jul 2009, Allin Cottrell wrote: I'm trying to get a button on a toolbar to produce a menu. The GtkUIManager docs indicate this can be done but I haven't got the details right yet and I wonder if someone can put me on the right track... I've constructed a minimal test case

Re: drawing area and motion hint mask

2009-07-29 Thread Carlos Pereira
Emmanuel Touzery wrote: Hello, I'm trying to detect mouse moves in a drawing area. The default behaviour without the GDK_POINTER_MOTION_HINT_MASK is as expected flooding me with events which I can't handle. Perhaps you could have something as the code below (it works for me. It is based