Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : tclock

Dir     : e_modules/tclock


Modified Files:
        e_mod_config.c 


Log Message:
Fixes for E_Config_Dialog_View
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/tclock/e_mod_config.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- e_mod_config.c      15 Jan 2006 08:42:32 -0000      1.6
+++ e_mod_config.c      22 Jan 2006 14:17:43 -0000      1.7
@@ -25,16 +25,18 @@
 _config_tclock_module(E_Container *con, TClock_Face *f) 
 {
    E_Config_Dialog *cfd;
-   E_Config_Dialog_View v;
+   E_Config_Dialog_View *v;
    
-   v.create_cfdata = _create_data;
-   v.free_cfdata = _free_data;
-   v.basic.apply_cfdata = _basic_apply_data;
-   v.basic.create_widgets = _basic_create_widgets;
-   v.advanced.apply_cfdata = NULL;
-   v.advanced.create_widgets = NULL;
+   v = E_NEW(E_Config_Dialog_View, 1);
    
-   cfd = e_config_dialog_new(con, _("Tclock Configuration"), NULL, 0, &v, f);  
 
+   v->create_cfdata = _create_data;
+   v->free_cfdata = _free_data;
+   v->basic.apply_cfdata = _basic_apply_data;
+   v->basic.create_widgets = _basic_create_widgets;
+   v->advanced.apply_cfdata = NULL;
+   v->advanced.create_widgets = NULL;
+   
+   cfd = e_config_dialog_new(con, _("Tclock Configuration"), NULL, 0, v, f);   
 }
 
 static void 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to