summaryrefslogtreecommitdiff
path: root/gtk/gtkitemfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkitemfactory.h')
-rw-r--r--gtk/gtkitemfactory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkitemfactory.h b/gtk/gtkitemfactory.h
index 5132f9d1db..2fba37fd58 100644
--- a/gtk/gtkitemfactory.h
+++ b/gtk/gtkitemfactory.h
@@ -215,6 +215,7 @@ void gtk_item_factory_set_translate_func (GtkItemFactory *ifactory,
gpointer data,
GtkDestroyNotify notify);
+#ifndef GTK_DISABLE_DEPRECATED
/* Compatibility functions for deprecated GtkMenuFactory code
*/
typedef void (*GtkMenuCallback) (GtkWidget *widget,
@@ -239,7 +240,7 @@ void gtk_item_factory_create_items_ac (GtkItemFactory *ifactory,
GtkItemFactoryEntry *entries,
gpointer callback_data,
guint callback_type);
-
+#endif /* GTK_DISABLE_DEPRECATED */
#ifdef __cplusplus