[gtkmm] Avoid infinite loop in Gtk::Dialog::get_content_area().
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Avoid infinite loop in Gtk::Dialog::get_content_area().
- Date: Fri, 2 Sep 2011 11:44:35 +0000 (UTC)
commit 0267c1c556cae0355ffdc7d4064872f0bafc5132
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Fri Sep 2 13:22:22 2011 +0200
Avoid infinite loop in Gtk::Dialog::get_content_area().
* gtk/src/dialog.hg: Remove 'constversion' from get_vbox() const, because of
a bug in gmmproc. Bug #657751, comment 3.
ChangeLog | 7 +++++++
gtk/src/dialog.hg | 5 ++++-
2 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d0aa385..c6fdb98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-09-02 Kjell Ahlstedt <kjell ahlstedt bredband net>
+
+ Avoid infinite loop in Gtk::Dialog::get_content_area().
+
+ * gtk/src/dialog.hg: Remove 'constversion' from get_vbox() const, because of
+ a bug in gmmproc. Bug #657751, comment 3.
+
2011-08-25 Murray Cumming <murrayc murrayc com>
Add FontChooser and FontChooserDialog, deprecating old widgets.
diff --git a/gtk/src/dialog.hg b/gtk/src/dialog.hg
index 0ca8e7c..41c4c93 100644
--- a/gtk/src/dialog.hg
+++ b/gtk/src/dialog.hg
@@ -117,7 +117,10 @@ public:
_WRAP_METHOD(const ButtonBox* get_action_area() const, gtk_dialog_get_action_area, constversion)
_WRAP_METHOD(Box* get_vbox(), gtk_dialog_get_content_area, deprecated "Use get_content_area() instead.")
- _WRAP_METHOD(const Box* get_vbox() const, gtk_dialog_get_content_area, constversion, deprecated "Use get_content_area() instead.")
+ // The following _WRAP_METHOD ought to contain 'constversion', but due to a bug
+ // in gmmproc that's not possible now (2011-09-02).
+ // https://bugzilla.gnome.org/show_bug.cgi?id=657751
+ _WRAP_METHOD(const Box* get_vbox() const, gtk_dialog_get_content_area, deprecated "Use get_content_area() instead.")
_WRAP_METHOD(Box* get_content_area(), gtk_dialog_get_content_area)
_WRAP_METHOD(const Box* get_content_area() const, gtk_dialog_get_content_area, constversion)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]