[gtkmm] Deprecate Gtk::ImageMenuItem.
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Deprecate Gtk::ImageMenuItem.
- Date: Tue, 2 Jul 2013 17:49:12 +0000 (UTC)
commit a510a3b8fb2617aaa1b46b6ad0c8d9c956bf08d3
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Tue Jul 2 19:38:05 2013 +0200
Deprecate Gtk::ImageMenuItem.
* gtk/src/imagemenuitem.hg: Deprecate ImageMenuItem.
ChangeLog | 6 ++++++
gtk/src/imagemenuitem.hg | 8 ++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cc13547..1e68bc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2013-07-02 Kjell Ahlstedt <kjell ahlstedt bredband net>
+ Deprecate Gtk::ImageMenuItem.
+
+ * gtk/src/imagemenuitem.hg: Deprecate ImageMenuItem.
+
+2013-07-02 Kjell Ahlstedt <kjell ahlstedt bredband net>
+
Deprecate Gtk::StockID, StockItem, BuiltinStockID, namespace Gtk::Stock.
* gtk/gtkmm/stock.[h|cc]: Deprecate struct BuiltinStockID and all functions in
diff --git a/gtk/src/imagemenuitem.hg b/gtk/src/imagemenuitem.hg
index 1c075ad..e22b532 100644
--- a/gtk/src/imagemenuitem.hg
+++ b/gtk/src/imagemenuitem.hg
@@ -22,6 +22,12 @@
_DEFS(gtkmm,gtk)
_PINCLUDE(gtkmm/private/menuitem_p.h)
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#undef GTK_DISABLE_DEPRECATED
+#define GDK_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
+
+_IS_DEPRECATED // This whole file is deprecated.
namespace Gtk
{
@@ -31,6 +37,8 @@ namespace Gtk
* A GtkImageMenuItem is a menu item which has an icon next to the text label. Note that the
* user can disable display of menu icons, so make sure to still fill in the text label.
*
+ * @deprecated Use Gtk::MenuItem instead.
+ *
* @ingroup Menus
* @ingroup Widgets
S
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]