eel r2187 - in trunk: . eel test



Author: alexl
Date: Mon Oct  6 18:52:24 2008
New Revision: 2187
URL: http://svn.gnome.org/viewvc/eel?rev=2187&view=rev

Log:
2008-10-06  Alexander Larsson  <alexl redhat com>

        * eel/check-program.c:
        * test/test-eel-widgets.c:
        * test/test.c:
	Don't use GnomeProgram




Modified:
   trunk/ChangeLog
   trunk/eel/check-program.c
   trunk/test/test-eel-widgets.c
   trunk/test/test.c

Modified: trunk/eel/check-program.c
==============================================================================
--- trunk/eel/check-program.c	(original)
+++ trunk/eel/check-program.c	Mon Oct  6 18:52:24 2008
@@ -43,9 +43,7 @@
 	
 
 	LIBXML_TEST_VERSION
-        gnome_program_init ("eel-test", VERSION,
-			    libgnomeui_module_info_get (), argc, argv,
-			    NULL);
+	gtk_init (&argc, &argv);
 
 	/* Run the checks for eel twice. */
 

Modified: trunk/test/test-eel-widgets.c
==============================================================================
--- trunk/test/test-eel-widgets.c	(original)
+++ trunk/test/test-eel-widgets.c	Mon Oct  6 18:52:24 2008
@@ -37,9 +37,7 @@
 int
 main (int argc, char * argv[])
 {
-	gnome_program_init ("test-eel-widgets", VERSION,
-			    libgnomeui_module_info_get (), argc, argv,
-			    NULL);
+	gtk_init (&argc, &argv);
 
 	test_radio_group ();
 	test_radio_group_horizontal ();

Modified: trunk/test/test.c
==============================================================================
--- trunk/test/test.c	(original)
+++ trunk/test/test.c	Mon Oct  6 18:52:24 2008
@@ -6,18 +6,7 @@
 test_init (int *argc,
 	   char ***argv)
 {
-/* Currently the gnome_program_init() function makes the test
- * programs hang for me.  Using just the gtk_init () works for
- * most tests, so I am using just that until the gnome_program_init ()
- * function is fixed or we learn how to use it properly. -re
- */
-#if 0
-	gnome_program_init ("test-eel-widgets", VERSION,
-			    libgnomeui_module_info_get (), *argc, *argv,
-			    NULL);
-#else
 	gtk_init (argc, argv);
-#endif
 
 	eel_make_warnings_and_criticals_stop_in_debugger ();
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]