[gnome-builder] libide/tweaks: cleanup style
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide/tweaks: cleanup style
- Date: Thu, 18 Aug 2022 01:04:48 +0000 (UTC)
commit 39407fa1e045f70ce27da5f27b2d6346d2a826d1
Author: Christian Hergert <chergert redhat com>
Date: Wed Aug 17 18:02:47 2022 -0700
libide/tweaks: cleanup style
src/libide/tweaks/ide-tweaks-panel-list.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/src/libide/tweaks/ide-tweaks-panel-list.c b/src/libide/tweaks/ide-tweaks-panel-list.c
index 640a208ce..4dae8dc46 100644
--- a/src/libide/tweaks/ide-tweaks-panel-list.c
+++ b/src/libide/tweaks/ide-tweaks-panel-list.c
@@ -180,16 +180,14 @@ ide_tweaks_panel_list_header_func (IdeTweaksPanelListRow *row,
gboolean show_header = ide_tweaks_section_get_show_header (IDE_TWEAKS_SECTION (row_section));
if (show_header && title != NULL)
- {
- label = g_object_new (GTK_TYPE_LABEL,
- "css-classes", IDE_STRV_INIT ("dim-label", "heading"),
- "label", title,
- "margin-bottom", 6,
- "margin-start", 18,
- "margin-top", 12,
- "xalign", .0f,
- NULL);
- }
+ label = g_object_new (GTK_TYPE_LABEL,
+ "css-classes", IDE_STRV_INIT ("dim-label", "heading"),
+ "label", title,
+ "margin-bottom", 6,
+ "margin-start", 18,
+ "margin-top", 12,
+ "xalign", .0f,
+ NULL);
}
if (before_section != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]