[gnome-builder] app: fix declarations before code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] app: fix declarations before code
- Date: Fri, 15 Apr 2016 03:12:15 +0000 (UTC)
commit b0cdfa664a19abcc52eb5f9f61d142b6cf951029
Author: Christian Hergert <christian hergert me>
Date: Thu Apr 14 20:12:03 2016 -0700
app: fix declarations before code
libide/ide-application.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libide/ide-application.c b/libide/ide-application.c
index bc3398f..47e3177 100644
--- a/libide/ide-application.c
+++ b/libide/ide-application.c
@@ -650,18 +650,18 @@ gboolean
ide_application_open_project (IdeApplication *self,
GFile *file)
{
- g_return_val_if_fail (IDE_IS_APPLICATION (self), FALSE);
- g_return_val_if_fail (G_IS_FILE (file), FALSE);
-
- if (!g_file_query_exists (file, NULL))
- return FALSE;
-
GList *list;
IdeContext *context;
GtkWindow *window;
GFile *projectfile;
IdeWorkbench *workbench = NULL;
+ g_return_val_if_fail (IDE_IS_APPLICATION (self), FALSE);
+ g_return_val_if_fail (G_IS_FILE (file), FALSE);
+
+ if (!g_file_query_exists (file, NULL))
+ return FALSE;
+
list = gtk_application_get_windows (GTK_APPLICATION (self));
for (; list != NULL; list = list->next)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]