[gtksourceview] Completion: add a comment



commit bdf8b9455afff07746f960eff18d6783d9c3847f
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Apr 28 19:34:25 2013 +0200

    Completion: add a comment

 gtksourceview/gtksourcecompletion.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c
index c1b6ee0..bc079bd 100644
--- a/gtksourceview/gtksourcecompletion.c
+++ b/gtksourceview/gtksourcecompletion.c
@@ -1414,6 +1414,10 @@ populating_done (GtkSourceCompletion        *completion,
 
        if (!check_first_selected (completion))
        {
+               /* Update the window position only if the first proposal is not
+                * selected, because if it is selected, the window position will
+                * already be updated.
+                */
                update_window_position (completion);
        }
 }


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