summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixgtk/mixgtk.c')
-rw-r--r--mixgtk/mixgtk.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mixgtk/mixgtk.c b/mixgtk/mixgtk.c
index 9dbae80..1bbc175 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/03/13 00:12:37 jose"
+ * Last change: Time-stamp: "01/03/14 23:08:50 jose"
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -34,16 +34,17 @@
int
main(int argc, char *argv[])
{
- const gchar *glade_file = "mixgtk.glade";
mix_vm_t *vm;
gtk_init(&argc, &argv);
mix_init_lib ();
- if (!mixgtk_widget_factory_init (glade_file))
+ if (!mixgtk_widget_factory_init (GLADE_FILE)
+ && !mixgtk_widget_factory_init (LOCAL_GLADE_FILE))
{
- g_error ("Unable to initialise application (using %s)\n", glade_file);
+ g_error ("Unable to initialise application (using %s and %s)\n",
+ GLADE_FILE, LOCAL_GLADE_FILE);
return EXIT_FAILURE;
}