GNOME Bugzilla – Bug 642681
gtk_combo_box_text_get_active_text doesn't work as stated
Last modified: 2011-02-19 18:30:19 UTC
Created attachment 181219 [details] [review] adds code to access combo box's entry, if present The doc for gtk_combo_box_text_get_active_text states that if the combo_box "contains an entry, this function will return its contents (which will not necessarily be an item from the list)." But it doesn't. The attached patch should fix this.
Created attachment 181328 [details] testcase
I attached a minimal test case. Select one of the drop-down strings from the combo box and click "Show active text on stderr": fine. Type something into the entry and click "Show active text on stderr": you get NULL.