[gtksourceview] CompletionModel: better sectionning of the code



commit 9b004e5b762a41e32f6deb935341d6635b9736f0
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Feb 27 19:53:48 2013 +0100

    CompletionModel: better sectionning of the code
    
    Some sections became very small, so they are now included in other, more
    general, sections.

 gtksourceview/gtksourcecompletionmodel.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletionmodel.c b/gtksourceview/gtksourcecompletionmodel.c
index 15296bd..9453f1b 100644
--- a/gtksourceview/gtksourcecompletionmodel.c
+++ b/gtksourceview/gtksourcecompletionmodel.c
@@ -285,8 +285,6 @@ get_last_iter (GtkSourceCompletionModel *model,
        return TRUE;
 }
 
-/* Remove providers or proposals */
-
 static void
 proposal_info_free (gpointer data)
 {
@@ -326,8 +324,6 @@ provider_info_free (gpointer data)
        g_slice_free (ProviderInfo, data);
 }
 
-/* Show/hide header */
-
 static void
 add_header (GList *provider_node)
 {
@@ -855,7 +851,7 @@ gtk_source_completion_model_add_proposals (GtkSourceCompletionModel    *model,
        g_list_foreach (proposals, (GFunc)add_proposal, provider_node);
 }
 
-/* Get/set visible providers */
+/* Other public functions */
 
 void
 gtk_source_completion_model_set_visible_providers (GtkSourceCompletionModel *model,
@@ -891,8 +887,6 @@ gtk_source_completion_model_get_visible_providers (GtkSourceCompletionModel *mod
        return model->priv->visible_providers;
 }
 
-/* Other public functions */
-
 /* If @only_visible is %TRUE, only the visible providers are taken into account. */
 gboolean
 gtk_source_completion_model_is_empty (GtkSourceCompletionModel *model,


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