summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckbutton.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-10-02 18:35:36 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-16 18:17:21 +0200
commit485d1b98355dcadfb815ae063bb3f1253e1f6f32 (patch)
tree9fed5620d5fdbda11e64ece6695e9e9d490e293e /gtk/gtkcheckbutton.c
parent9d43644153e6ef9c5c97acc727e2bc99b7ab98df (diff)
downloadgtk+-485d1b98355dcadfb815ae063bb3f1253e1f6f32.tar.gz
Button: Remove alignment API
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r--gtk/gtkcheckbutton.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index a27452474b..8b48463327 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -270,10 +270,8 @@ draw_indicator_changed (GObject *object,
widget_node = gtk_widget_get_css_node (GTK_WIDGET (button));
indicator_node = gtk_css_gadget_get_node (priv->indicator_gadget);
-G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (gtk_toggle_button_get_mode (GTK_TOGGLE_BUTTON (button)))
{
- gtk_button_set_alignment (button, 0.0, 0.5);
gtk_css_node_set_visible (indicator_node, TRUE);
if (GTK_IS_RADIO_BUTTON (button))
{
@@ -288,7 +286,6 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
}
else
{
- gtk_button_set_alignment (button, 0.5, 0.5);
gtk_css_node_set_visible (indicator_node, FALSE);
if (GTK_IS_RADIO_BUTTON (button))
{
@@ -301,7 +298,6 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_css_node_set_name (widget_node, I_("button"));
}
}
-G_GNUC_END_IGNORE_DEPRECATIONS
}
static void