[gnome-latex: 110/205] Move some struct and enum from main.h to symbols.h



commit 496b82ba7238883e5d84208f145a294cbda0b581
Author: Sébastien Wilmet <sebastien wilmet gmail com>
Date:   Sun Nov 8 22:13:31 2009 +0100

    Move some struct and enum from main.h to symbols.h

 src/main.h    | 25 -------------------------
 src/symbols.h | 26 ++++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 25 deletions(-)
---
diff --git a/src/main.h b/src/main.h
index bd445ff..b7e5cf2 100644
--- a/src/main.h
+++ b/src/main.h
@@ -138,29 +138,4 @@ enum action
        N_COLUMNS_ACTION
 };
 
-// for the symbol tables
-struct symbol
-{
-       gchar *filename;
-       gchar *latex_command;
-       gchar *package_required;
-};
-
-// for the symbol lists
-enum symbols
-{
-       COLUMN_SYMBOL_PIXBUF,
-       COLUMN_SYMBOL_COMMAND,
-       COLUMN_SYMBOL_TOOLTIP,
-       N_COLUMNS_SYMBOL
-};
-
-enum category_symbols
-{
-       COLUMN_CAT_ICON,
-       COLUMN_CAT_NAME,
-       COLUMN_CAT_NUM,
-       N_COLUMNS_CAT
-};
-
 #endif /* MAIN_H */
diff --git a/src/symbols.h b/src/symbols.h
index fecddaa..00089af 100644
--- a/src/symbols.h
+++ b/src/symbols.h
@@ -22,4 +22,30 @@
 
 void init_symbols (void);
 
+// for the symbol tables
+struct symbol
+{
+       gchar *filename;
+       gchar *latex_command;
+       gchar *package_required;
+};
+
+// for the symbol lists
+enum symbols
+{
+       COLUMN_SYMBOL_PIXBUF,
+       COLUMN_SYMBOL_COMMAND,
+       COLUMN_SYMBOL_TOOLTIP,
+       N_COLUMNS_SYMBOL
+};
+
+// for the categories
+enum category_symbols
+{
+       COLUMN_CAT_ICON,
+       COLUMN_CAT_NAME,
+       COLUMN_CAT_NUM,
+       N_COLUMNS_CAT
+};
+
 #endif /* SYMBOLS_H */


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