[gtk+] Don't include the builtin sequence table in multiple places



commit 6f74de53312cd8b874e5ad658171af4cdf372b12
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 30 22:52:13 2016 -0500

    Don't include the builtin sequence table in multiple places
    
    The table is defined as static const guint16 [], so it really
    should only be included in one source file.

 gtk/gtkimcontextsimple.c        |    1 +
 gtk/gtkimcontextsimpleprivate.h |    7 -------
 2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 6ec1bda..ce906ae 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -39,6 +39,7 @@
 #include "gtkcomposetable.h"
 
 #include "gtkimcontextsimpleprivate.h"
+#include "gtkimcontextsimpleseqs.h"
 
 /**
  * SECTION:gtkimcontextsimple
diff --git a/gtk/gtkimcontextsimpleprivate.h b/gtk/gtkimcontextsimpleprivate.h
index 737f07a..401156a 100644
--- a/gtk/gtkimcontextsimpleprivate.h
+++ b/gtk/gtkimcontextsimpleprivate.h
@@ -22,13 +22,6 @@
 
 #include "gdk/gdkkeysyms.h"
 
-/* This file contains the table of the compose sequences,
- * static const guint16 gtk_compose_seqs_compact[] = {}
- * IT is generated from the compose-parse.py script.
- */
-#include "gtkimcontextsimpleseqs.h"
-
-
 G_BEGIN_DECLS
 
 extern const GtkComposeTableCompact gtk_compose_table_compact;


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