diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-01-30 22:50:54 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-01-30 22:50:54 -0500 |
commit | 3c4f36f62238b45863b49c85c2a8462f556da31f (patch) | |
tree | b23374afeca01072b4f430891ebf0884478aec77 /gtk/gtkcombobox.c | |
parent | a66287a62e5604aaa9b8d144e3394627767b149e (diff) | |
download | gtk+-3c4f36f62238b45863b49c85c2a8462f556da31f.tar.gz |
combobox: Avoid a misleading indentation
gcc 6 warns about this sort of thing. There were also some
stray ; here.
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r-- | gtk/gtkcombobox.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index f5661d34c6..628f708d47 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -4758,12 +4758,10 @@ gtk_combo_box_update_title (GtkComboBox *combo_box) gtk_combo_box_check_appearance (combo_box); - if (priv->popup_widget && - GTK_IS_MENU (priv->popup_widget)) -G_GNUC_BEGIN_IGNORE_DEPRECATIONS; - gtk_menu_set_title (GTK_MENU (priv->popup_widget), - priv->tearoff_title); -G_GNUC_END_IGNORE_DEPRECATIONS; +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + if (priv->popup_widget && GTK_IS_MENU (priv->popup_widget)) + gtk_menu_set_title (GTK_MENU (priv->popup_widget), priv->tearoff_title); +G_GNUC_END_IGNORE_DEPRECATIONS } /** |