summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2009-10-27 22:39:30 +0100
committerChristian Dywan <christian@twotoasts.de>2009-10-27 22:42:25 +0100
commitda8dde446d8316bbc4e64498ac18bef8985a0ce0 (patch)
treec5a9bb6225023d07df0f61e45ff02029915c45ed /gtk
parent6271cb967225693c0747b580645024d27eef9d14 (diff)
downloadgtk+-da8dde446d8316bbc4e64498ac18bef8985a0ce0.tar.gz
Deprecate functions according to deprecated GtkButton signals
https://bugzilla.gnome.org/show_bug.cgi?id=599218
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk.symbols6
-rw-r--r--gtk/gtkbutton.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols
index 8f19b5d5e4..4b39bded36 100644
--- a/gtk/gtk.symbols
+++ b/gtk/gtk.symbols
@@ -541,7 +541,9 @@ gtk_button_box_set_layout
#if IN_HEADER(__GTK_BUTTON_H__)
#if IN_FILE(__GTK_BUTTON_C__)
gtk_button_clicked
+#ifndef GTK_DISABLE_DEPRECATED
gtk_button_enter
+#endif
gtk_button_get_alignment
gtk_button_get_focus_on_click
gtk_button_get_image
@@ -551,13 +553,17 @@ gtk_button_get_relief
gtk_button_get_type G_GNUC_CONST
gtk_button_get_use_stock
gtk_button_get_use_underline
+#ifndef GTK_DISABLE_DEPRECATED
gtk_button_leave
+#endif
gtk_button_new
gtk_button_new_from_stock
gtk_button_new_with_label
gtk_button_new_with_mnemonic
+#ifndef GTK_DISABLE_DEPRECATED
gtk_button_pressed
gtk_button_released
+#endif
gtk_button_set_alignment
gtk_button_set_focus_on_click
gtk_button_set_image
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index 1243e2abb5..7a67ddcf91 100644
--- a/gtk/gtkbutton.h
+++ b/gtk/gtkbutton.h
@@ -93,11 +93,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);
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_button_pressed (GtkButton *button);
void gtk_button_released (GtkButton *button);
+#endif
void gtk_button_clicked (GtkButton *button);
+#ifndef GTK_DISABLE_DEPRECATED
void gtk_button_enter (GtkButton *button);
void gtk_button_leave (GtkButton *button);
+#endif
void gtk_button_set_relief (GtkButton *button,
GtkReliefStyle newstyle);