[gtkmm/remove-functions] Gtk::ColumnViewColumn: simplify constructors
- From: Andreas Persson <andreasp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/remove-functions] Gtk::ColumnViewColumn: simplify constructors
- Date: Sat, 26 Sep 2020 07:42:11 +0000 (UTC)
commit 6543bc3c67f2bca14a76f3f3fdb3b92b338d0289
Author: Andreas Persson <andreasp56 outlook com>
Date: Sat Sep 26 09:40:04 2020 +0200
Gtk::ColumnViewColumn: simplify constructors
The GTK column_view_column constructors have been simplified.
gtk/src/columnviewcolumn.hg | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk/src/columnviewcolumn.hg b/gtk/src/columnviewcolumn.hg
index 8b836c55..f0ee41c6 100644
--- a/gtk/src/columnviewcolumn.hg
+++ b/gtk/src/columnviewcolumn.hg
@@ -45,13 +45,10 @@ class GTKMM_API ColumnViewColumn : public Glib::Object
_CLASS_GOBJECT(ColumnViewColumn, GtkColumnViewColumn, GTK_COLUMN_VIEW_COLUMN, Glib::Object, GObject, , ,
GTKMM_API)
protected:
- _WRAP_CTOR(ColumnViewColumn(const Glib::ustring& title), gtk_column_view_column_new)
- _WRAP_CTOR(ColumnViewColumn(const Glib::ustring& title, const Glib::RefPtr<ListItemFactory>& factory),
- gtk_column_view_column_new_with_factory)
+ _WRAP_CTOR(ColumnViewColumn(const Glib::ustring& title, const Glib::RefPtr<ListItemFactory>& factory =
{}), gtk_column_view_column_new)
public:
- _WRAP_CREATE(const Glib::ustring& title)
- _WRAP_CREATE(const Glib::ustring& title, const Glib::RefPtr<ListItemFactory>& factory)
+ _WRAP_CREATE(const Glib::ustring& title, const Glib::RefPtr<ListItemFactory>& factory = {})
#m4 _CONVERSION(`GtkColumnView*',`ColumnView*',__RP2P)
_WRAP_METHOD(ColumnView* get_column_view(), gtk_column_view_column_get_column_view)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]