Enlightenment CVS committal
Author : doursse
Project : e17
Module : proto
Dir : e17/proto/edvi/src/bin
Modified Files:
edvi_esmart_test.c edvi_evas_test.c edvi_ewl_test.c
Log Message:
add micro version number, clean the exit of app tests, use generic dvi property
management instead of specific ones
===================================================================
RCS file: /cvs/e/e17/proto/edvi/src/bin/edvi_esmart_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- edvi_esmart_test.c 12 Feb 2007 14:38:31 -0000 1.2
+++ edvi_esmart_test.c 22 Feb 2007 17:26:50 -0000 1.3
@@ -25,7 +25,7 @@
if (argc < 3)
{
printf ("\nUsage: %s filename page_number\n\n", argv[0]);
- exit (-1);
+ return -1;
}
printf ("[DVI] version : %s\n", edvi_version_get ());
@@ -102,7 +102,6 @@
app_signal_exit(void *data, int ev_type, void *ev)
{
ecore_main_loop_quit();
- edvi_shutdown ();
return 1;
}
@@ -110,5 +109,4 @@
app_delete_request(Ecore_Evas *ee)
{
ecore_main_loop_quit();
- edvi_shutdown ();
}
===================================================================
RCS file: /cvs/e/e17/proto/edvi/src/bin/edvi_evas_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- edvi_evas_test.c 12 Feb 2007 14:38:31 -0000 1.2
+++ edvi_evas_test.c 22 Feb 2007 17:26:50 -0000 1.3
@@ -51,7 +51,6 @@
Evas *evas;
Evas_Object *o;
char *param_kpathsea_mode = "cx";
- int param_delayed_font_open = 1;
if (argc < 2) {
printf ("\nUsage: %s file.dvi\n\n", argv[0]);
@@ -77,7 +76,7 @@
if (!property) {
goto free_device;
}
- edvi_property_delayed_font_open_set (property, param_delayed_font_open);
+ edvi_property_property_set (property, EDVI_PROPERTY_DELAYED_FONT_OPEN);
document = edvi_document_new (filename, device, property);
if (!document) {
@@ -121,6 +120,7 @@
ecore_main_loop_begin ();
+ ecore_evas_shutdown ();
shutdown_ecore:
ecore_shutdown ();
shutdown_evas:
===================================================================
RCS file: /cvs/e/e17/proto/edvi/src/bin/edvi_ewl_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- edvi_ewl_test.c 12 Feb 2007 14:38:31 -0000 1.4
+++ edvi_ewl_test.c 22 Feb 2007 17:26:50 -0000 1.5
@@ -98,6 +98,8 @@
ewl_main ();
+ edvi_shutdown ();
+
return 0;
}
@@ -111,7 +113,6 @@
}
ewl_widget_destroy(w);
ewl_main_quit();
- edvi_shutdown ();
}
static void
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs