[gtkmm] gtkmm: SizeRequest: get_size(): Make this const.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] gtkmm: SizeRequest: get_size(): Make this const.
- Date: Wed, 15 Sep 2010 21:57:52 +0000 (UTC)
commit 376e00c1de038081ce7c9c2e77cede7afe45b745
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Sep 15 23:57:44 2010 +0200
gtkmm: SizeRequest: get_size(): Make this const.
* gtk/src/sizerequest.hg: get_size(): Make this const.
ChangeLog | 6 ++++++
gtk/src/sizerequest.hg | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 80ee334..e47ce01 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2010-09-15 Murray Cumming <murrayc murrayc com>
+ gtkmm: SizeRequest: get_size(): Make this const.
+
+ * gtk/src/sizerequest.hg: get_size(): Make this const.
+
+2010-09-15 Murray Cumming <murrayc murrayc com>
+
gdkmm: Add some more methods, wrapping new GTK+ API.
* gdk/src/display.hg: Added is_closed().
diff --git a/gtk/src/sizerequest.hg b/gtk/src/sizerequest.hg
index d8cf8b5..57ff25c 100644
--- a/gtk/src/sizerequest.hg
+++ b/gtk/src/sizerequest.hg
@@ -46,9 +46,9 @@ public:
_WRAP_METHOD(SizeRequestMode get_request_mode() const, gtk_size_request_get_request_mode)
_WRAP_METHOD(void get_width(int& minimum_width, int& natural_width) const, gtk_size_request_get_width)
_WRAP_METHOD(void get_height_for_width(int width, int& minimum_height, int& natural_height) const, gtk_size_request_get_height_for_width)
- _WRAP_METHOD(void get_height( int& minimum_height, int& natural_height) const, gtk_size_request_get_height)
+ _WRAP_METHOD(void get_height(int& minimum_height, int& natural_height) const, gtk_size_request_get_height)
_WRAP_METHOD(void get_width_for_height(int height, int& minimum_width, int& natural_width) const, gtk_size_request_get_width_for_height)
- _WRAP_METHOD(void get_size(Requisition& minimum_size, Requisition& natural_size), gtk_size_request_get_size)
+ _WRAP_METHOD(void get_size(Requisition& minimum_size, Requisition& natural_size) const, gtk_size_request_get_size)
//There are no signals or properties.
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]