[glade--]Re: bug fix for empty combo list
- From: Christof Petig <christof petig-baender de>
- To: Howdy Pierce <howdy cardinalpeak com>
- Cc: glademm-list gnome org
- Subject: [glade--]Re: bug fix for empty combo list
- Date: Tue, 25 Feb 2003 23:24:05 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]