[evolution-data-server] ECredentialsPrompterImplPassword: Dialog not closed on OK/Cancel click in gtk3
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] ECredentialsPrompterImplPassword: Dialog not closed on OK/Cancel click in gtk3
- Date: Thu, 23 Jun 2022 16:35:53 +0000 (UTC)
commit aa7ce197593f2f566c35b4205b00afe909c2e8a7
Author: Milan Crha <mcrha redhat com>
Date: Thu Jun 23 18:33:03 2022 +0200
ECredentialsPrompterImplPassword: Dialog not closed on OK/Cancel click in gtk3
Use gtk_widget_destroy() on the dialog when the dialog received a response
in gtk3, to have it properly closed.
src/libedataserverui/e-credentials-prompter-impl-password.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libedataserverui/e-credentials-prompter-impl-password.c
b/src/libedataserverui/e-credentials-prompter-impl-password.c
index b6f84fa41..736f0265a 100644
--- a/src/libedataserverui/e-credentials-prompter-impl-password.c
+++ b/src/libedataserverui/e-credentials-prompter-impl-password.c
@@ -453,7 +453,7 @@ e_credentials_prompter_impl_password_show_dialog (ECredentialsPrompterImplPasswo
#if GTK_CHECK_VERSION(4, 0, 0)
gtk_window_destroy (GTK_WINDOW (dialog));
#else
- g_object_unref (dialog);
+ gtk_widget_destroy (dialog);
#endif
prompter_password->priv->dialog = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]