Commit Graph

3 Commits

Author SHA1 Message Date
Bertrand Lorentz
d9bef0d869 gtk: Fix creation of ComboBox and ComboBoxText subclasses with entry
When creating a subclass of ComboBox with an entry, the has-entry
property was not initialized, leading to a crash when trying to access
the entry.

For subclasses of ComboBoxText, two other properties were not
initialized, leading to Gtk-CRITICAL error messages.
2011-12-05 19:14:05 +01:00
Bertrand Lorentz
b0768d35f6 gtk: Include ComboBoxText.cs in the build
Also add missing using statement.
2011-07-16 18:18:14 +02:00
Bertrand Lorentz
9463e98ca2 gtk: move ComboBoxText custom code to a partial class
Also rename the constructor parameter to has_entry and pass its value to
CreateNativeObject.
2011-07-16 17:53:21 +02:00