Patch from metrics for desklock switching segfault. Tested good.
authorChristopher Michael <cpmichael1@comcast.net>
Tue, 17 Oct 2006 11:10:27 +0000 (11:10 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 17 Oct 2006 11:10:27 +0000 (11:10 +0000)
SVN revision: 26673

src/bin/e_int_config_desklock.c

index 07f9e20..b85b493 100644 (file)
@@ -71,7 +71,6 @@ struct _E_Config_Dialog_Data
 
    int bg_mode; // config
    char *bg; // config
-   Evas *evas; // local variable
    Evas_Object *preview_image; // local variable
 
 #ifdef HAVE_PAM
@@ -547,7 +546,8 @@ _advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data
 
    z = e_zone_current_get(cfd->con);
    
-   cfdata->evas = evas;
+   cfdata->o_fm = NULL;
+   cfdata->o_frame = NULL;
    
    ot = e_widget_table_add(evas, 0);
    ol = e_widget_table_add(evas, 0);