more trapping.
authorChristopher Michael <cpmichael1@comcast.net>
Fri, 29 Jan 2010 05:58:46 +0000 (05:58 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Fri, 29 Jan 2010 05:58:46 +0000 (05:58 +0000)
SVN revision: 45688

src/modules/illume2/e_mod_windows.c

index 7b22da37fabf62c4368877bc6e81c5e2115f25ca..97ac9d3d2258cdbfc427e16f75383240ab618728 100644 (file)
@@ -27,6 +27,8 @@ il_config_windows_show(E_Container *con, const char *params)
    if (e_config_dialog_find("E", "_config_illume_windows_settings")) return;
 
    v = E_NEW(E_Config_Dialog_View, 1);
+   if (!v) return;
+
    v->create_cfdata = _il_config_windows_create;
    v->free_cfdata = _il_config_windows_free;
    v->basic.create_widgets = _il_config_windows_ui;
@@ -36,6 +38,7 @@ il_config_windows_show(E_Container *con, const char *params)
    cfd = e_config_dialog_new(con, _("Window Settings"), "E", 
                              "_config_illume_windows_settings", 
                              "preferences-system-windows", 0, v, NULL);
+   if (!cfd) return;
    e_dialog_resizable_set(cfd->dia, 1);
 }
 
@@ -50,6 +53,7 @@ static void
 _il_config_windows_free(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata) 
 {
    if (_windows_change_timer) ecore_timer_del(_windows_change_timer);
+   _windows_change_timer = NULL;
 }
 
 static Evas_Object *