[gtk+] combobox: Avoid a misleading indentation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] combobox: Avoid a misleading indentation
- Date: Sun, 31 Jan 2016 03:53:16 +0000 (UTC)
commit 3c4f36f62238b45863b49c85c2a8462f556da31f
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 30 22:50:54 2016 -0500
combobox: Avoid a misleading indentation
gcc 6 warns about this sort of thing. There were also some
stray ; here.
gtk/gtkcombobox.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index f5661d3..628f708 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
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]