summaryrefslogtreecommitdiff
path: root/src/forms.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/forms.c')
-rw-r--r--src/forms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/forms.c b/src/forms.c
index d6db7787..d59a5afb 100644
--- a/src/forms.c
+++ b/src/forms.c
@@ -181,7 +181,7 @@ zenity_forms_dialog_response (GtkWidget *widget, int response, gpointer data)
switch (response) {
case GTK_RESPONSE_OK:
- zen_data->exit_code = zenity_util_return_exit_code (ZENITY_OK);
+ zenity_util_exit_code_with_data(ZENITY_OK, zen_data);
for (tmp = forms_data->list; tmp; tmp = tmp->next) {
ZenityFormsValue *zenity_value = (ZenityFormsValue *) tmp->data;
switch (zenity_value->type) {
bgstack15