[gnome-builder/gnome-builder-3-18] libide: includes and annotations



commit b6146c9622bcbaae7a19c5ba1a08e029f72d2131
Author: Ben Iofel <iofelben gmail com>
Date:   Wed Sep 30 13:23:01 2015 -0400

    libide: includes and annotations

 libide/ide-completion-results.c |    6 +++++-
 libide/ide.h                    |    2 ++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-completion-results.c b/libide/ide-completion-results.c
index 4b4e60a..09c3cef 100644
--- a/libide/ide-completion-results.c
+++ b/libide/ide-completion-results.c
@@ -68,7 +68,7 @@ typedef struct
    * embedded in the IdeCompletionItem structures and we do not
    * allocate them. This is the pointer to the first item in the
    * result set that matches our query. It is not allocated
-   * and do not tree to free it or perform g_list_*() operations
+   * and do not try to free it or perform g_list_*() operations
    * upon it except for g_list_sort().
    */
   GList *head;
@@ -97,6 +97,10 @@ ide_completion_results_new (const gchar *query)
                        NULL);
 }
 
+/**
+ * ide_completion_results_take_proposal:
+ * @proposal: (transfer full): The completion item
+ */
 void
 ide_completion_results_take_proposal (IdeCompletionResults *self,
                                       IdeCompletionItem    *item)
diff --git a/libide/ide.h b/libide/ide.h
index 008feba..2bd86fb 100644
--- a/libide/ide.h
+++ b/libide/ide.h
@@ -33,7 +33,9 @@ G_BEGIN_DECLS
 #include "ide-buffer.h"
 #include "ide-buffer-change-monitor.h"
 #include "ide-buffer-manager.h"
+#include "ide-completion-item.h"
 #include "ide-completion-provider.h"
+#include "ide-completion-results.h"
 #include "ide-context.h"
 #include "ide-debug.h"
 #include "ide-debugger.h"


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