[gnome-builder/wip/libide] libide: context cleanup



commit ab529df72950de7296b11985b3c73b03772902c4
Author: Christian Hergert <christian hergert me>
Date:   Tue Feb 10 13:26:56 2015 -0800

    libide: context cleanup

 libide/ide-context.c |   16 ++++++++--------
 libide/ide-context.h |   35 +++++++++++++++++------------------
 2 files changed, 25 insertions(+), 26 deletions(-)
---
diff --git a/libide/ide-context.c b/libide/ide-context.c
index 5d88166..4ed4d7a 100644
--- a/libide/ide-context.c
+++ b/libide/ide-context.c
@@ -32,14 +32,14 @@
 
 typedef struct
 {
-  IdeBuildSystem   *build_system;
-  IdeDeviceManager *device_manager;
-  IdeProject       *project;
-  GFile            *project_file;
-  gchar            *root_build_dir;
-  GHashTable       *services;
-  IdeUnsavedFiles  *unsaved_files;
-  IdeVcs           *vcs;
+  IdeBuildSystem     *build_system;
+  IdeDeviceManager   *device_manager;
+  IdeProject         *project;
+  GFile              *project_file;
+  gchar              *root_build_dir;
+  GHashTable         *services;
+  IdeUnsavedFiles    *unsaved_files;
+  IdeVcs             *vcs;
 } IdeContextPrivate;
 
 static void async_initable_init (GAsyncInitableIface *);
diff --git a/libide/ide-context.h b/libide/ide-context.h
index e11fd81..93ae8d4 100644
--- a/libide/ide-context.h
+++ b/libide/ide-context.h
@@ -34,24 +34,23 @@ struct _IdeContext
   GObject parent_instance;
 };
 
-void            ide_context_new_async        (GFile                *project_file,
-                                              GCancellable         *cancellable,
-                                              GAsyncReadyCallback   callback,
-                                              gpointer              user_data);
-IdeContext     *ide_context_new_finish       (GAsyncResult         *result,
-                                              GError              **error);
-
-IdeBuildSystem   *ide_context_get_build_system   (IdeContext  *context);
-IdeDeviceManager *ide_context_get_device_manager (IdeContext  *context);
-IdeProject       *ide_context_get_project        (IdeContext  *context);
-GFile            *ide_context_get_project_file   (IdeContext  *context);
-gpointer          ide_context_get_service_typed  (IdeContext  *context,
-                                                  GType        service_type);
-IdeUnsavedFiles  *ide_context_get_unsaved_files  (IdeContext  *context);
-IdeVcs           *ide_context_get_vcs            (IdeContext  *context);
-const gchar      *ide_context_get_root_build_dir (IdeContext  *context);
-void              ide_context_set_root_build_dir (IdeContext  *context,
-                                                  const gchar *root_build_dir);
+GFile              *ide_context_get_project_file      (IdeContext           *context);
+IdeBuildSystem     *ide_context_get_build_system      (IdeContext           *context);
+IdeDeviceManager   *ide_context_get_device_manager    (IdeContext           *context);
+IdeProject         *ide_context_get_project           (IdeContext           *context);
+IdeUnsavedFiles    *ide_context_get_unsaved_files     (IdeContext           *context);
+IdeVcs             *ide_context_get_vcs               (IdeContext           *context);
+const gchar        *ide_context_get_root_build_dir    (IdeContext           *context);
+gpointer            ide_context_get_service_typed     (IdeContext           *context,
+                                                       GType                 service_type);
+void                ide_context_new_async             (GFile                *project_file,
+                                                       GCancellable         *cancellable,
+                                                       GAsyncReadyCallback   callback,
+                                                       gpointer              user_data);
+IdeContext         *ide_context_new_finish            (GAsyncResult         *result,
+                                                       GError              **error);
+void                ide_context_set_root_build_dir    (IdeContext           *context,
+                                                       const gchar          *root_build_dir);
 
 G_END_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]