[gtkmm] ComboBoxText: Remove the constructor that takes a model.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] ComboBoxText: Remove the constructor that takes a model.
- Date: Fri, 14 Jan 2011 23:05:59 +0000 (UTC)
commit fc66116ebddb7bbe4a45cfea1663859fc4be3cb3
Author: Murray Cumming <murrayc murrayc com>
Date: Sat Jan 15 00:05:52 2011 +0100
ComboBoxText: Remove the constructor that takes a model.
* gtk/src/comboboxtext.[hg|ccg]: Remove the (model, bool) constructor
because there is no such gtk_combo_box_new_with_model() function to match,
and because this would be silly.
This was mentioned in bug #619656 by Kjell Ahlstedt.
ChangeLog | 10 ++++++++++
gtk/src/comboboxtext.ccg | 5 -----
gtk/src/comboboxtext.hg | 7 -------
3 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c51df34..ba5cc9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2011-01-15 Murray Cumming <murrayc murrayc com>
+
+ ComboBoxText: Remove the constructor that takes a model.
+
+ * gtk/src/comboboxtext.[hg|ccg]: Remove the (model, bool) constructor
+ because there is no such gtk_combo_box_new_with_model() function to match,
+ and because this would be silly.
+
+ This was mentioned in bug #619656 by Kjell Ahlstedt.
+
2011-01-14 Murray Cumming <murrayc murrayc com>
ComboBox: Documentation: Correct the overview
diff --git a/gtk/src/comboboxtext.ccg b/gtk/src/comboboxtext.ccg
index b754920..8706430 100644
--- a/gtk/src/comboboxtext.ccg
+++ b/gtk/src/comboboxtext.ccg
@@ -27,11 +27,6 @@ ComboBoxText::ComboBoxText(bool has_entry)
_CONSTRUCT("has-entry", gboolean(has_entry))
{}
-ComboBoxText::ComboBoxText(const Glib::RefPtr<TreeModel>& model, bool has_entry)
-:
- _CONSTRUCT("model", Glib::unwrap(model), "has-entry", gboolean(has_entry))
-{}
-
void ComboBoxText::set_active_text(const Glib::ustring& text)
{
//Look for the row with this text, and activate it:
diff --git a/gtk/src/comboboxtext.hg b/gtk/src/comboboxtext.hg
index df2980b..3a381b0 100644
--- a/gtk/src/comboboxtext.hg
+++ b/gtk/src/comboboxtext.hg
@@ -43,13 +43,6 @@ public:
explicit ComboBoxText(bool has_entry = false);
_IGNORE(gtk_combo_box_text_new_with_entry)
- /** Creates a new ComboBoxText with the model initialized to @a model.
- * @param model The model containing data to display in the ComboBoxText.
- * @param has_entry If this is true then this will have an Entry widget.
- */
- explicit ComboBoxText(const Glib::RefPtr<TreeModel>& model, bool has_entry = false);
- _IGNORE(gtk_combo_box_text_new_with_model)
-
_WRAP_METHOD(void append(const Glib::ustring& text), gtk_combo_box_text_append_text)
_WRAP_METHOD(void append(const Glib::ustring& id, const Glib::ustring& text), gtk_combo_box_text_append)
_WRAP_METHOD(void insert(int position, const Glib::ustring& text), gtk_combo_box_text_insert_text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]