[gtkmm] Gtk: Make LayoutManager::layout_changed() non-const
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk: Make LayoutManager::layout_changed() non-const
- Date: Tue, 2 Apr 2019 07:21:15 +0000 (UTC)
commit 2e6d3721e9c2da7bec8b4c8f1d89de55d01301cc
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Tue Apr 2 09:17:57 2019 +0200
Gtk: Make LayoutManager::layout_changed() non-const
and minor changes of the documentation of LayoutManager and LayoutChild.
gtk/src/layoutchild.hg | 2 +-
gtk/src/layoutmanager.hg | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/src/layoutchild.hg b/gtk/src/layoutchild.hg
index f6a8fd4a..66269079 100644
--- a/gtk/src/layoutchild.hg
+++ b/gtk/src/layoutchild.hg
@@ -27,7 +27,7 @@ class Widget;
/** An object containing layout properties.
*
- * %Gtk:LayoutChild is the base class for objects that are meant to hold
+ * %Gtk::LayoutChild is the base class for objects that are meant to hold
* layout properties. If a Gtk::LayoutManager has per-child properties,
* like their packing type, or the horizontal and vertical span, or the
* icon name, then the layout manager should use a %Gtk::LayoutChild
diff --git a/gtk/src/layoutmanager.hg b/gtk/src/layoutmanager.hg
index 2d57c3cb..6de61485 100644
--- a/gtk/src/layoutmanager.hg
+++ b/gtk/src/layoutmanager.hg
@@ -28,7 +28,7 @@ class Widget;
/** Base class for layout manager.
*
- * Layout managers are delegate classes that handle the preferred size
+ * %Layout managers are delegate classes that handle the preferred size
* and the allocation of a container widget.
*
* You typically subclass %Gtk::LayoutManager if you want to implement a
@@ -39,7 +39,7 @@ class Widget;
* at any given time; it is possible, though, to replace the layout manager
* instance using Gtk::Widget::set_layout_manager().
*
- * ## Layout properties
+ * ## %Layout properties
*
* A layout manager can expose properties for controlling the layout of
* each child, by creating an object type derived from Gtk::LayoutChild
@@ -50,8 +50,8 @@ class Widget;
* method; a %Gtk::LayoutManager controls the creation of its Gtk::LayoutChild
* instances by overriding the create_layout_child_vfunc() virtual function.
*
- * The Gtk::LayoutChild::property_layout_manager() and Gtk::LayoutChild::property_child_widget()
- * properties on the newly created Gtk::LayoutChild instance are mandatory. The
+ * Gtk::LayoutChild::property_layout_manager() and Gtk::LayoutChild::property_child_widget()
+ * on the newly created Gtk::LayoutChild instance are mandatory. The
* %Gtk::LayoutManager will cache the newly created Gtk::LayoutChild instance until
* the widget is removed from its parent, or the parent removes the layout manager.
*
@@ -84,7 +84,7 @@ public:
_WRAP_METHOD(SizeRequestMode get_request_mode() const, gtk_layout_manager_get_request_mode)
_WRAP_METHOD(Widget* get_widget(), gtk_layout_manager_get_widget)
_WRAP_METHOD(const Widget* get_widget() const, gtk_layout_manager_get_widget, constversion)
- _WRAP_METHOD(void layout_changed() const, gtk_layout_manager_layout_changed)
+ _WRAP_METHOD(void layout_changed(), gtk_layout_manager_layout_changed)
_WRAP_METHOD(Glib::RefPtr<LayoutChild> get_layout_child(Widget& child),
gtk_layout_manager_get_layout_child, refreturn)
_WRAP_METHOD(Glib::RefPtr<const LayoutChild> get_layout_child(Widget& child) const,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]