[gtkmm] Gtk::Dialog: Fix the deprecation of get_action_area()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::Dialog: Fix the deprecation of get_action_area()
- Date: Sun, 23 Mar 2014 17:42:12 +0000 (UTC)
commit 97a4c95486de7795fefd5bb9623c201db4a33a1c
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Sun Mar 23 18:39:01 2014 +0100
Gtk::Dialog: Fix the deprecation of get_action_area()
* gtk/src/dialog.hg: Add 'deprecated' also on the const version of
get_action_area().
gtk/src/dialog.hg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/dialog.hg b/gtk/src/dialog.hg
index ee3ff80..da8fdd3 100644
--- a/gtk/src/dialog.hg
+++ b/gtk/src/dialog.hg
@@ -122,7 +122,7 @@ _DEPRECATE_IFDEF_END
// This previously returned an HButtonBox*, which broke on Maemo Fremantle.
// Changed post-2.18.2
_WRAP_METHOD(ButtonBox* get_action_area(), gtk_dialog_get_action_area, deprecated "Direct access to the
action area is discouraged. Use add_button(), etc.")
- _WRAP_METHOD(const ButtonBox* get_action_area() const, gtk_dialog_get_action_area, constversion, "Direct
access to the action area is discouraged. Use add_button(), etc.")
+ _WRAP_METHOD(const ButtonBox* get_action_area() const, gtk_dialog_get_action_area, constversion,
deprecated "Direct access to the action area is discouraged. Use add_button(), etc.")
_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.")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]