[krb5-auth-dialog: 6/14] pwdialog: Avoid G_TYPE_INSTANCE_GET_PRIVATE
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog: 6/14] pwdialog: Avoid G_TYPE_INSTANCE_GET_PRIVATE
- Date: Tue, 5 Jan 2021 20:25:20 +0000 (UTC)
commit 9adcd174f12bf8ec20f23765bcb6b74e66311342
Author: Guido Günther <agx sigxcpu org>
Date: Mon Jan 4 18:22:52 2021 +0100
pwdialog: Avoid G_TYPE_INSTANCE_GET_PRIVATE
Fixes another deprecation
src/ka-pwdialog.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/ka-pwdialog.c b/src/ka-pwdialog.c
index 7d51344..89be0a1 100644
--- a/src/ka-pwdialog.c
+++ b/src/ka-pwdialog.c
@@ -53,9 +53,7 @@ G_DEFINE_TYPE_WITH_PRIVATE (KaPwDialog, ka_pwdialog, GTK_TYPE_DIALOG);
static void
ka_pwdialog_init (KaPwDialog *pwdialog)
{
- pwdialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (pwdialog,
- KA_TYPE_PWDIALOG,
- KaPwDialogPrivate);
+ pwdialog->priv = ka_pwdialog_get_instance_private (pwdialog);
gtk_widget_init_template (GTK_WIDGET (pwdialog));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]