summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-10-11 15:03:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-11 15:03:46 -0400
commit9e0efc5022400b003725838af5a1c173ebea0bd1 (patch)
treecb84d7101c386aee87dc44edfe39a051d1b8e82e /gtk/gtkbutton.h
parent8f078992fd1981848113e12883db3f4e15e31cd1 (diff)
downloadgtk+-9e0efc5022400b003725838af5a1c173ebea0bd1.tar.gz
Add deprecation annotations for deprecated functions
We define our own GDK_DEPRECATED[_FOR] macros for this and allow it to be turned off by defining the GDK_DISABLE_DEPRECATION_WARNINGS macro.
Diffstat (limited to 'gtk/gtkbutton.h')
-rw-r--r--gtk/gtkbutton.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index 997342edc9..e6e3108208 100644
--- a/gtk/gtkbutton.h
+++ b/gtk/gtkbutton.h
@@ -81,13 +81,15 @@ GtkWidget* gtk_button_new (void);
GtkWidget* gtk_button_new_with_label (const gchar *label);
GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);
GtkWidget* gtk_button_new_with_mnemonic (const gchar *label);
+void gtk_button_clicked (GtkButton *button);
#ifndef GTK_DISABLE_DEPRECATED
+GDK_DEPRECATED
void gtk_button_pressed (GtkButton *button);
+GDK_DEPRECATED
void gtk_button_released (GtkButton *button);
-#endif
-void gtk_button_clicked (GtkButton *button);
-#ifndef GTK_DISABLE_DEPRECATED
+GDK_DEPRECATED
void gtk_button_enter (GtkButton *button);
+GDK_DEPRECATED
void gtk_button_leave (GtkButton *button);
#endif