diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-11-09 22:02:42 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-11-09 22:02:42 -0500 |
commit | a78ab0cfa1d5e5e15d505bce0761a00708400ce3 (patch) | |
tree | 98b9f748a756937f961c482b3e2380bc481c165f /gtk/gtkuimanager.h | |
parent | b3e13bd0a831c76b40ea470043e4d0da11229c0f (diff) | |
download | gtk+-a78ab0cfa1d5e5e15d505bce0761a00708400ce3.tar.gz |
Drop use of GDK_DISABLE_DEPRECATED guards in gtk
We now use function attributes for deprecation so the build-breaking
guards are no longer needed.
Diffstat (limited to 'gtk/gtkuimanager.h')
-rw-r--r-- | gtk/gtkuimanager.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkuimanager.h b/gtk/gtkuimanager.h index 90b804f1a8..d07ccccbdb 100644 --- a/gtk/gtkuimanager.h +++ b/gtk/gtkuimanager.h @@ -126,11 +126,12 @@ typedef enum { GType gtk_ui_manager_get_type (void) G_GNUC_CONST; GtkUIManager *gtk_ui_manager_new (void); -#ifndef GTK_DISABLE_DEPRECATED +GDK_DEPRECATED void gtk_ui_manager_set_add_tearoffs (GtkUIManager *manager, - gboolean add_tearoffs); + gboolean add_tearoffs); +GDK_DEPRECATED gboolean gtk_ui_manager_get_add_tearoffs (GtkUIManager *manager); -#endif + void gtk_ui_manager_insert_action_group (GtkUIManager *manager, GtkActionGroup *action_group, gint pos); |