[gtkmm] MessageDialog: Correct the get_message_area() return type.



commit b1ff3f72d8ce7a9ae10b3402dab553e1134ef2f0
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon May 2 11:49:16 2011 +0200

    MessageDialog: Correct the get_message_area() return type.
    
    * gtk/src/messagedialog.hg: get_message_area(): Return a Box instead of a VBox.
    This may have worked already, but this is a minor API change that should not
    affect anybody too much, and hopefully it will be OK this soon after the 3.0.0
    release.

 ChangeLog                |    6 ++++++
 gtk/src/messagedialog.hg |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 822bd6a..115afdd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-02  Murray Cumming  <murrayc murrayc-desktop>
+
+	reviewed by: <delete if not using a buddy>
+
+	* gtk/src/messagedialog.hg:
+
 2011-05-02  Murray Cumming  <murrayc murrayc com>
 
 	ScrolledWindow: Correct the get_v/hscrollbar() return types.
diff --git a/gtk/src/messagedialog.hg b/gtk/src/messagedialog.hg
index d155ec8..e89c5a9 100644
--- a/gtk/src/messagedialog.hg
+++ b/gtk/src/messagedialog.hg
@@ -79,8 +79,8 @@ public:
   void set_secondary_text(const Glib::ustring& text, bool use_markup = false);
   _IGNORE(gtk_message_dialog_format_secondary_text, gtk_message_dialog_format_secondary_markup)
 
-  _WRAP_METHOD(VBox* get_message_area(), gtk_message_dialog_get_message_area)
-  _WRAP_METHOD(const VBox* get_message_area() const, gtk_message_dialog_get_message_area, constversion)
+  _WRAP_METHOD(Box* get_message_area(), gtk_message_dialog_get_message_area)
+  _WRAP_METHOD(const Box* get_message_area() const, gtk_message_dialog_get_message_area, constversion)
 
   _WRAP_PROPERTY("message-type", MessageType)
   //Not wrapped because it is write-only and construct: _WRAP_PROPERTY("buttons", ButtonsType)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]