summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-13 22:19:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-13 22:19:30 -0400
commitf6af96723c82e6a0a956f8e0e7441edb8256c1c2 (patch)
treea6c594a6a543e138c1556160a99b70720dffb8d4 /gtk/gtkcheckbutton.c
parent38445e63264711fd5aaee37c57a12689f8dc0f12 (diff)
downloadgtk+-f6af96723c82e6a0a956f8e0e7441edb8256c1c2.tar.gz
GtkButton: Deprecated setters and getters as well
gtk_button_set/get_alignment should be deprecated together with the properties they are setters/getters for.
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r--gtk/gtkcheckbutton.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 622ec5f8b2..0c6ddbd109 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -130,10 +130,12 @@ draw_indicator_changed (GObject *object,
{
GtkButton *button = GTK_BUTTON (object);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (gtk_toggle_button_get_mode (GTK_TOGGLE_BUTTON (button)))
gtk_button_set_alignment (button, 0.0, 0.5);
else
gtk_button_set_alignment (button, 0.5, 0.5);
+G_GNUC_END_IGNORE_DEPRECATIONS
}
static void