diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-12-21 17:43:29 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-12-21 17:45:01 -0500 |
commit | fcd449f0d42fe784e44f9f28e47a377bd52dcd6b (patch) | |
tree | 5dfb962d91c918d07795f6043acd6f8434a8dde8 | |
parent | 125329638771ccb80ef64dc2c49b000c59c88d39 (diff) | |
download | gtk+-fcd449f0d42fe784e44f9f28e47a377bd52dcd6b.tar.gz |
modelbutton: Remove an unused field
We're not using the centered field anymore.
-rw-r--r-- | gtk/gtkmodelbutton.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkmodelbutton.c b/gtk/gtkmodelbutton.c index b644a7fe61..b6ce026da9 100644 --- a/gtk/gtkmodelbutton.c +++ b/gtk/gtkmodelbutton.c @@ -73,7 +73,7 @@ * and #GtkModelButton:icon properties. * * The appearance of model buttons can be influenced with the - * #GtkModelButton:centered and #GtkModelButton:iconic properties. + * #GtkModelButton:iconic property. * * Model buttons have built-in support for submenus in #GtkPopoverMenu. * To make a GtkModelButton that opens a submenu when activated, set @@ -177,7 +177,6 @@ struct _GtkModelButton GtkEventController *controller; guint active : 1; - guint centered : 1; guint iconic : 1; guint keep_open : 1; }; @@ -760,8 +759,6 @@ gtk_model_button_set_iconic (GtkModelButton *self, gtk_widget_add_css_class (widget, "flat"); } - self->centered = iconic; - if (!iconic) { if (self->start_indicator) |