GTK+ 3.1.4

2011-05-07 Thread Matthias Clasen
GTK+ 3.1.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ 1668837425f2307265cd8da5e3f6df981e186ecfbffac95bc02d7ce780c75290 gtk +-3.1.4.tar.bz2 cf5b5f7d153131b88753af936d5160551ae9019e0515637d2c70d5c849b4e770 gtk +-3.1.4.tar.gz The

Re: memory leak in PangoLayout?

2011-05-07 Thread Olivier Sessink
On 05/07/2011 12:00 AM, Bill C wrote: On 06/05/11 17:28, Olivier Sessink wrote: Hi all, valgrind reports a memory leak in the following code: gint widget_get_string_size(GtkWidget * widget, gchar * string) { PangoLayout *layout; gint retval = -1; layout = gtk_widget_create_pango_layout(widget,

Re: destroying an unparented widget

2011-05-07 Thread Olivier Sessink
On 05/05/2011 09:37 PM, Allin Cottrell wrote: There's one thing I've never quite understood: the correct mechanism for destroying a gtk widget that is never parented or shown. The context is that I'm creating a temporary widget with gtk_label_new(), just for the purpose of getting hold of its Pa