diff options
author | jaortega <jaortega> | 2001-02-27 01:01:49 +0000 |
---|---|---|
committer | jaortega <jaortega> | 2001-02-27 01:01:49 +0000 |
commit | f20d7ac8e744fde911545618e96d52c26f008910 (patch) | |
tree | b9613fbe897695e1c0668d692d5b9b747b8554fb /mixgtk | |
parent | f270b847a817582f60f6371293fade65fe9afb9f (diff) | |
download | mdk-f20d7ac8e744fde911545618e96d52c26f008910.tar.gz mdk-f20d7ac8e744fde911545618e96d52c26f008910.tar.bz2 |
missing mixlib initialisation added
Diffstat (limited to 'mixgtk')
-rw-r--r-- | mixgtk/mixgtk.c | 7 |
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; } |