#ifndef PREFERENCES_H
#define PREFERENCES_H
+#include <glib.h>
+#include <gtk/gtk.h>
-void show_config_window(void);
-void show_about_window(void);
+struct LayoutWindow;
-/* reusable helper functions */
+void show_config_window(LayoutWindow *lw);
+void show_about_window(LayoutWindow *lw);
+
+/**
+ * @headerfile config_entry_to_option
+ * reusable helper functions
+ */
void config_entry_to_option(GtkWidget *entry, gchar **option, gchar *(*func)(const gchar *));