summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-22 18:42:05 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-22 18:42:05 (EDT)
commit4cc8059e6344dc06f0417be52c4a2b1ced1be43b (patch)
tree99fd8a4227dd120fc791631b36edfdb4a2e961b5
parentb16f98ca21a505e78184fbce24256e44c30d7572 (diff)
downloadmarquee-4cc8059e6344dc06f0417be52c4a2b1ced1be43b.zip
marquee-4cc8059e6344dc06f0417be52c4a2b1ced1be43b.tar.gz
marquee-4cc8059e6344dc06f0417be52c4a2b1ced1be43b.tar.bz2
MqConfig: Make struct definition private
-rw-r--r--src/config.c8
-rw-r--r--src/config.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/config.c b/src/config.c
index c4e2bf7..ed2c4d9 100644
--- a/src/config.c
+++ b/src/config.c
@@ -30,6 +30,14 @@
#include <glib.h>
+struct MqConfig {
+ gchar *profile;
+ gchar *file_name;
+ GKeyFile *key_file;
+ gboolean types_and_cbs_set;
+ GHashTable *types_and_cbs;
+};
+
enum type {
TYPE_BOOLEAN,
TYPE_INTEGER,
diff --git a/src/config.h b/src/config.h
index 55eeed4..c0ef323 100644
--- a/src/config.h
+++ b/src/config.h
@@ -26,14 +26,6 @@ typedef struct MqConfig MqConfig;
#include <glib.h>
-struct MqConfig {
- gchar *profile;
- gchar *file_name;
- GKeyFile *key_file;
- gboolean types_and_cbs_set;
- GHashTable *types_and_cbs;
-};
-
typedef void (*MqConfigBooleanCallback)(MqConfig *,
const gchar *, const gboolean, gpointer);
typedef void (*MqConfigIntegerCallback)(MqConfig *,