aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/shot/e_mod_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/shot/e_mod_main.c')
-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);