[gtk+/gtk-2-22] Gail: Deprecate gail_cell_type_add_action_interface



commit ecc6577a37ed874565dd91beeb495336b6f26ce1
Author: Mike Gorse <mgorse novell com>
Date:   Fri Sep 10 09:44:41 2010 -0400

    Gail: Deprecate gail_cell_type_add_action_interface

 modules/other/gail/gailcell.c |    3 +++
 modules/other/gail/gailcell.h |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/modules/other/gail/gailcell.c b/modules/other/gail/gailcell.c
index bc8dd13..cb03f0b 100644
--- a/modules/other/gail/gailcell.c
+++ b/modules/other/gail/gailcell.c
@@ -296,6 +296,9 @@ atk_action_interface_init (AtkActionIface *iface)
   iface->get_keybinding = gail_cell_action_get_keybinding;
 }
 
+/*
+ * Deprecated: 2.22: The action interface is added for all cells now.
+ */
 void
 gail_cell_type_add_action_interface (GType type)
 {
diff --git a/modules/other/gail/gailcell.h b/modules/other/gail/gailcell.h
index 1ab0f41..296ff1b 100644
--- a/modules/other/gail/gailcell.h
+++ b/modules/other/gail/gailcell.h
@@ -80,8 +80,10 @@ gboolean gail_cell_remove_state          (GailCell        *cell,
                                           AtkStateType    state_type,
                                           gboolean        emit_signal);
 
+#ifndef GTK_DISABLE_DEPRECATED
 void     gail_cell_type_add_action_interface 
                                          (GType           type);
+#endif
 
 gboolean gail_cell_add_action            (GailCell        *cell,
 		                          const gchar     *action_name,



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