aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/shot
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-24 14:19:55 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-24 14:19:55 +0000
commit028e9e0380e6c1d5adb9859cce3ce38b30da08cc (patch)
tree0c3ea797b35b6f72ba075441be7d8e33765948c2 /src/modules/shot
parentf1c170da5ab56072ad58d7254c25e0b56b361e96 (diff)
downloadenlightenment-028e9e0380e6c1d5adb9859cce3ce38b30da08cc.tar.gz
enlightenment-028e9e0380e6c1d5adb9859cce3ce38b30da08cc.tar.xz
enlightenment-028e9e0380e6c1d5adb9859cce3ce38b30da08cc.zip
fix dialog cleanups to work properly
SVN revision: 75665
Diffstat (limited to 'src/modules/shot')
-rw-r--r--src/modules/shot/e_mod_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index fa2c55836..d0629a4a2 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -223,6 +223,12 @@ _file_select_cancel_cb(void *data __UNUSED__, E_Dialog *dia)
}
static void
+_file_select_del_cb(void *d __UNUSED__)
+{
+ fsel_dia = NULL;
+}
+
+static void
_win_save_cb(void *data __UNUSED__, void *data2 __UNUSED__)
{
E_Dialog *dia;
@@ -246,6 +252,7 @@ _win_save_cb(void *data __UNUSED__, void *data2 __UNUSED__)
NULL,
NULL, NULL,
NULL, NULL, 1);
+ e_object_del_attach_func_set(E_OBJECT(dia), _file_select_del_cb);
e_widget_fsel_window_object_set(o, E_OBJECT(dia->win));
o_fsel = o;
evas_object_show(o);