Re: Debugging memleaks - valgrind suppressions & closures

2012-11-07 Thread Phil Clayton
On 07/11/12 22:49, mar...@saepia.net wrote: I've noticed that a lot of "possibly lost" stack traces are related to signals/closures: ==2893== 72 bytes in 1 blocks are possibly lost in loss record 6,781 of 9,985 ==2893==at 0x4C29DB4: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux

Re: Installing GTK+ 3.8.0

2013-09-14 Thread Phil Clayton
be of help. With blessings. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list # For building GTK and some supporting packages from Git repos # Phil Clayton # # NOTE # Requires automake >= 1.11.3 for support for ACLOCAL_PATH environment varia

Re: pango_script_get_sample_language()

2017-09-23 Thread Phil Clayton
g_boxed_free knows what to do because PangoLanguage has been registered as a boxed type: https://git.gnome.org/browse/pango/tree/pango/pango-language.c?h=1.40.12&id=fd429398a64bc2d7a01da64efa736bbb6eec6a29#n145 Note that some records, e.g. PangoLogAttr, are not boxed types so you would't use th

Re: One more Gobject Introspection issue

2017-09-23 Thread Phil Clayton
Have a look at https://bugzilla.gnome.org/show_bug.cgi?id=601425 On 14/09/17 21:12, Stefan Salewski wrote: GtkIconSize type is reported as plain gint, but it is an enum. For this function all is correct, see last line of code segment: This function sets the size of stock icons

Re: Extra space after textview (cross-posted from gtk-app-devel-list)

2018-10-25 Thread Phil Clayton
Doing a single show_all after the widget hierarchy is in place, as shown below, seems to fix this. I would guess this is due to changes in geometry management between GTK+ 2 and 3. -- #!/usr/bin/env python

Re: Embedded Terminal in a Gtk App

2019-03-23 Thread Phil Clayton
Use vte_terminal_spawn_async to start your command line program. https://developer.gnome.org/vte/unstable/VteTerminal.html#vte-terminal-spawn-async Use vte_terminal_feed_child to send commands to program in the terminal. https://developer.gnome.org/vte/unstable/VteTerminal.html#vte-terminal-feed-