From e6b6123f9e36688ce87b539f852f6388f0d518f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= Date: Wed, 24 Jul 2013 00:17:25 +0200 Subject: Completion: add a comment with an idea to improve the code --- gtksourceview/gtksourcecompletion.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtksourceview/gtksourcecompletion.c b/gtksourceview/gtksourcecompletion.c index 5e72ce62..27ee9979 100644 --- a/gtksourceview/gtksourcecompletion.c +++ b/gtksourceview/gtksourcecompletion.c @@ -74,6 +74,11 @@ * #GtkSourceCompletion. */ +/* Idea to improve the code: use a composite widget template. This class is not + * a GtkWidget, so some refactoring needs to be done, to have a subclass of + * GtkSourceCompletionInfo for the main completion window. + */ + #include "gtksourcecompletion.h" #include "gtksourcecompletion-private.h" #include "gtksourcecompletionmodel.h" -- cgit v1.2.1