GtkComboBox signals

2015-10-26 Thread Pekka Riikonen
I'm trying to work out a seemingly trivial use case with combo box with an entry. I want to receive signal only in two cases: 1. When user types something into the entry and then presses Enter key. 2. When user selects something from the combo box with a mouse. The first one is simple,

Another documentation issue

2015-10-26 Thread Igor Korot
Hi, ALL, Looking at https://developer.gnome.org/gdk2/stable/gdk2-Drawing-Primitives.html#gdk-draw-line I see following: [quote] gdk_draw_line has been deprecated since version 2.22 and should not be used in newly-written code. Use cairo_line_to() and cairo_stroke() instead. Be aware that the

Re: memory leak on modify_bg fuction

2015-10-26 Thread Paul Davis
Most memory leaks in GTK are not memory leaks. People write about once every two months that they've found one, without really understanding how GTK (and more importantly, glib) uses memory. If you want people to respond sensibly/usefully to such things, then you need to start by describing what