[gnome-builder] codeindex: cleanup locals layout
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] codeindex: cleanup locals layout
- Date: Tue, 5 Sep 2017 19:40:11 +0000 (UTC)
commit f55c1c9b1c3fb010d2ab8dc376f0bea7dc458d20
Author: Christian Hergert <chergert redhat com>
Date: Tue Sep 5 12:39:25 2017 -0700
codeindex: cleanup locals layout
plugins/code-index/ide-code-index-index.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/plugins/code-index/ide-code-index-index.c b/plugins/code-index/ide-code-index-index.c
index 1697af7..879a413 100644
--- a/plugins/code-index/ide-code-index-index.c
+++ b/plugins/code-index/ide-code-index-index.c
@@ -304,22 +304,22 @@ static IdeCodeIndexSearchResult *
ide_code_index_index_new_search_result (IdeCodeIndexIndex *self,
const FuzzyMatch *fuzzy_match)
{
+ g_autoptr(IdeFile) file = NULL;
+ g_autoptr(IdeSourceLocation) location = NULL;
+ g_autoptr(GString) subtitle = NULL;
+ IdeContext *context;
const gchar *key;
- GVariant *value;
const gchar *icon_name;
+ const gchar *shortname;
+ const gchar *path;
+ GVariant *value;
gfloat score;
guint file_id;
- gchar num [20];
- const gchar *path;
guint line;
guint line_offset;
guint kind;
guint flags;
- const gchar *shortname;
- IdeContext *context;
- g_autoptr(IdeFile) file = NULL;
- g_autoptr(IdeSourceLocation) location = NULL;
- g_autoptr(GString) subtitle = NULL;
+ gchar num [20];
g_assert (IDE_IS_CODE_INDEX_INDEX (self));
g_assert (fuzzy_match != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]