Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/profterm/ChangeLog,v
retrieving revision 1.78
diff -u -r1.78 ChangeLog
--- ChangeLog	6 Mar 2002 21:23:27 -0000	1.78
+++ ChangeLog	9 Mar 2002 01:23:25 -0000
@@ -1,3 +1,8 @@
+2002-03-09  Johan Dahlin  <jdahlin@telia.com>
+
+	* src/terminal.c (main): add LIBGNOMEUI_MODULE to 
+	module_info's dependencies.
+
 2002-03-06  Fatih Demir <kabalak@gtranslator.org>
 
 	* configure.in: Added "tr" to the languages list.
Index: src/terminal.c
===================================================================
RCS file: /cvs/gnome/profterm/src/terminal.c,v
retrieving revision 1.13
diff -u -r1.13 terminal.c
--- src/terminal.c	2 Mar 2002 19:01:32 -0000	1.13
+++ src/terminal.c	9 Mar 2002 01:23:27 -0000
@@ -25,6 +25,7 @@
 #include "profile-editor.h"
 #include <gconf/gconf-client.h>
 #include <libgnome/gnome-program.h>
+#include <libgnomeui/gnome-ui-init.h>
 #include <popt.h>
 #include <string.h>
 
@@ -333,13 +334,22 @@
   char **post_execute_args;
   const char **args;
   char *default_geometry = NULL;
-  
+  GnomeModuleRequirement req[2];
+	
   bindtextdomain (GETTEXT_PACKAGE, TERM_LOCALEDIR);
   bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
   textdomain (GETTEXT_PACKAGE);
   
   gtk_init (&argc, &argv);
   
+  req[0].required_version = "1.102.0";
+  req[0].module_info = LIBGNOMEUI_MODULE;
+	
+  req[1].required_version = NULL;
+  req[1].module_info = NULL;
+	
+  module_info.requirements = req;
+	
   gnome_program_init (PACKAGE, VERSION,
                       &module_info,
                       1, /* don't give it any args for now since option parsing doesn't go
