Re: Simple GTKMM front-end

2011-09-20 Thread John Emmas
On 20 Sep 2011, at 21:33, Chris Vine wrote: > > As far as I am aware the only difference between the Library General > Public Licence v2, and the Lesser General Public Licence v2.1 is the > change of name. > > gtkmm is released under the LGPL-2.0 or later, at the choice of the > user. That inclu

RE: Valgrind questions

2011-09-20 Thread Thomas Harty
Dear John, Thanks for the suppression file. As a quick test, I've been using the "hello world" example from the Gtk docs page (http://developer.gnome.org/gtk-tutorial/stable/c39.html#SEC-HELLOWORLD), compiled with "gcc test.c -g -Wall -O -o test `pkg-config --cflags --libs gtk+-3.0`" and setti

Re: Simple GTKMM front-end

2011-09-20 Thread Chris Vine
On Tue, 20 Sep 2011 21:26:31 +0100 John Emmas wrote: > On 20 Sep 2011, at 07:11, Andy Tai wrote: > > > come on... gtkmm is LGPL... > > > > Interesting I just checked this on the gtkmm web site and > discovered that it's actually released under the "GNU Library General > Public License". A

Re: Simple GTKMM front-end

2011-09-20 Thread John Emmas
On 20 Sep 2011, at 07:11, Andy Tai wrote: > come on... gtkmm is LGPL... > Interesting I just checked this on the gtkmm web site and discovered that it's actually released under the "GNU Library General Public License". After further reading it seems that inclusion of the word "Library"

Re: Valgrind questions

2011-09-20 Thread jcupitt
Hi Tom, On 20 September 2011 11:38, Thomas Harty wrote: > Running like that, I still get quite a few leaks detected by valgrind. Some > of them are created by g_type_add_interface_static, which looks like another > type_init leak, which we can safely ignore. So, I've added the following to > t

Re: How to create irregularly shaped window with GTK+3.0

2011-09-20 Thread jwm . art . net
As far as I managed to work out, you must use cairo now which means the user must have desktop compositing enabled. Either that or you must be a gold medal winning low-level xlib gymnast!?!? This was in gtk2 with all the deprecation enabled flags. --Original Message-- From: Weitian Leu

How to create irregularly shaped window with GTK+3.0

2011-09-20 Thread Weitian Leung
Hi All, I wonder how to create irregularly shaped window with gtk+3.0. I used to simply call gtk_widget_shape_combine_mask and gdk_window_set_back_pixmap to create the irregularly-shaped window with the png image with gtk+2.0. Now I can't find any useful information how with gtk+3.0. Could any

Re: Valgrind questions

2011-09-20 Thread jcupitt
I posted this the last time this subject came up (twice last year, I think), but I made this valgrind suppression file for my project:  http://www.vips.ecs.soton.ac.uk/development/nip2.supp Run with: $ export G_DEBUG=gc-friendly This makes Glib clear certain memory areas after using the