[gtkmm] RadioAction: Deprecate the constructor that uses StockID.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] RadioAction: Deprecate the constructor that uses StockID.
- Date: Wed, 9 Oct 2013 10:02:33 +0000 (UTC)
commit 0bdd106a5136961cf58223f7701188413681a49e
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Oct 9 11:51:21 2013 +0200
RadioAction: Deprecate the constructor that uses StockID.
gtk/src/radioaction.hg | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/radioaction.hg b/gtk/src/radioaction.hg
index d507709..81a609c 100644
--- a/gtk/src/radioaction.hg
+++ b/gtk/src/radioaction.hg
@@ -48,6 +48,7 @@ protected:
//TODO: Remove the default constructor, because name may not be NULL.
_CTOR_DEFAULT
+_DEPRECATE_IFDEF_START
/**
* Creates a radio action.
*
@@ -57,8 +58,11 @@ protected:
* action.
* @param label The label displayed in menu items and on buttons.
* @param tooltip A tooltip for the action.
+ *
+ * @deprecated Stock IDs are deprecated, so use the other construtor.
*/
explicit RadioAction(Group& group, const Glib::ustring& name, const StockID& stock_id = StockID(), const
Glib::ustring& label = Glib::ustring(), const Glib::ustring& tooltip = Glib::ustring());
+_DEPRECATE_IFDEF_END
/** Creates a radio action with an icon name.
* The radio action's icon will reflect the specified icon name in the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]