diff inkscape/firefox/template/textmenu/main.c @ 454:9b8dda201ccb

Make naming convention consistent with MadButterfly.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 06 Aug 2009 09:38:51 +0800
parents 7d244a85dd68
children 26c302b47de1
line wrap: on
line diff
--- a/inkscape/firefox/template/textmenu/main.c	Wed Aug 05 19:34:59 2009 +0800
+++ b/inkscape/firefox/template/textmenu/main.c	Thu Aug 06 09:38:51 2009 +0800
@@ -19,12 +19,12 @@
 };
 
 
-MBApp *myApp;
+mbaf_t *myApp;
 
 _MyApp_InitContent(int argc, char *argv[])
 {
-    MyAppData *data = MBAPP_DATA(myApp,MyAppData);
-    subject_t *key = MBAPP_keySubject(myApp);
+    MyAppData *data = MBAF_DATA(myApp,MyAppData);
+    subject_t *key = MBAF_KB_SUBJECT(myApp);
     char name[255];
     coord_t *l;
     int i;
@@ -40,11 +40,11 @@
     mb_obj_t *button;
     MyAppData data;
 
-    myApp = MBApp_Init("list");
-    MBApp_setData(myApp,&data);
+    myApp = mbaf_init("list");
+    mbaf_set_data(myApp,&data);
     _MyApp_InitContent(argc,argv);
 
-    MBApp_loop(myApp);
+    mbaf_loop(myApp);
 
     return 0;
 }