summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--mixgtk/mixgtk.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mixgtk/mixgtk.c b/mixgtk/mixgtk.c
index 368f392..01b57c0 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: "01/02/26 02:54:24 jose"
+ * Last change: Time-stamp: "01/02/27 01:55:13 jose"
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -23,6 +23,7 @@
#include <stdlib.h>
#include <gtk/gtk.h>
+#include <mixlib/mix.h>
#include "mixgtk_widgets.h"
#include "mixgtk_cmd_dispatcher.h"
@@ -33,6 +34,8 @@ main(int argc, char *argv[])
gtk_init(&argc, &argv);
+ mix_init_lib ();
+
if (!mixgtk_widget_factory_init (glade_file)) {
g_error ("Unable to initialise application (using %s)\n", glade_file);
return EXIT_FAILURE;
@@ -45,5 +48,7 @@ main(int argc, char *argv[])
gtk_main();
+ mix_release_lib ();
+
return EXIT_SUCCESS;
}