[gtksourceview] Protect completionwordsutils.h from several inclusions



commit c10723f5091c9b8e6f7e52ecf21dcbd771642bdf
Author: SÃbastien Wilmet <swilmet gnome org>
Date:   Wed Dec 26 13:02:49 2012 +0100

    Protect completionwordsutils.h from several inclusions

 .../words/gtksourcecompletionwordsutils.h          |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.h b/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.h
index ee449fe..bedd94d 100644
--- a/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.h
+++ b/gtksourceview/completion-providers/words/gtksourcecompletionwordsutils.h
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifndef __GTK_SOURCE_COMPLETION_WORDS_UTILS_H__
+#define __GTK_SOURCE_COMPLETION_WORDS_UTILS_H__
+
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS
@@ -37,3 +40,5 @@ gboolean	 gtk_source_completion_words_utils_backward_word_start 	(GtkTextIter
 									 gpointer        data);
 
 G_END_DECLS
+
+#endif /* __GTK_SOURCE_COMPLETION_WORDS_UTILS_H__ */



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