[glade--]Re: bug fix for empty combo list

Christof Petig <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
Howdy Pierce wrote:
> Hello--
> 
> I was attempting to add a Gtk::Combo widget in Glade with an empty list.
> The elements in the list get added by my code after the myWindow_glade ctor
> is called.  The problem with this is that glade-- generates incorrect code
> in the _glade.cc file, resulting in the following runtime warning:
> 
> Gtk-CRITICAL **: file gtkcombo.c: line 954 (gtk_combo_set_popdown_strings):
> assertion `strings != NULL' failed
> 
> Here is a fix for this -- it's a one-line change in src/writers/combo.cc to
> ensure that the list has elements in it.

Thank you, applied
   Christof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.