summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixgtk/mixgtk.c')
-rw-r--r--mixgtk/mixgtk.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/mixgtk/mixgtk.c b/mixgtk/mixgtk.c
index 2e2b44c..127780b 100644
--- a/mixgtk/mixgtk.c
+++ b/mixgtk/mixgtk.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mixgtk.c :
* Main function of the mix gtk front-end
* ------------------------------------------------------------------
- * Last change: Time-stamp: "2001-04-22 01:00:42 jao"
+ * Last change: Time-stamp: "2001-04-24 00:52:32 jao"
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -31,13 +31,14 @@
#include "mixgtk_mixal.h"
#include "mixgtk_input.h"
#include "mixgtk_colorsel.h"
+#include "mixgtk_fontsel.h"
int
main(int argc, char *argv[])
{
mix_vm_t *vm;
- gtk_init(&argc, &argv);
+ gtk_init (&argc, &argv);
mix_init_lib ();
@@ -71,7 +72,7 @@ main(int argc, char *argv[])
return EXIT_FAILURE;
}
- if (!mixgtk_mixal_init (vm) || !mixgtk_colorsel_init ())
+ if (!mixgtk_mixal_init (vm))
{
g_error ("Unable to initialise application (mixal widgets)\n");
return EXIT_FAILURE;
@@ -82,6 +83,12 @@ main(int argc, char *argv[])
g_error ("Unable to initialise application (word input widgets)\n");
return EXIT_FAILURE;
}
+
+ if (!mixgtk_fontsel_init () || !mixgtk_colorsel_init ())
+ {
+ g_error ("Unable to initialise application (customization widgets)\n");
+ return EXIT_FAILURE;
+ }
gtk_main();