[krb5-auth-dialog: 10/14] preferences: Avoid G_TYPE_INSTANCE_GET_PRIVATE
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog: 10/14] preferences: Avoid G_TYPE_INSTANCE_GET_PRIVATE
- Date: Tue, 5 Jan 2021 20:25:20 +0000 (UTC)
commit ea1414cc9b934c2b81942c35201d10e5ea6c3fd6
Author: Guido Günther <agx sigxcpu org>
Date: Mon Jan 4 19:02:49 2021 +0100
preferences: Avoid G_TYPE_INSTANCE_GET_PRIVATE
Fixes more deprecations
src/ka-preferences.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/ka-preferences.c b/src/ka-preferences.c
index 344bf7f..31d3600 100644
--- a/src/ka-preferences.c
+++ b/src/ka-preferences.c
@@ -575,10 +575,7 @@ ka_preferences_constructed (GObject *object)
static void
ka_preferences_init (KaPreferences *self)
{
- self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
- KA_TYPE_PREFERENCES,
- KaPreferencesPrivate);
-
+ self->priv = ka_preferences_get_instance_private (self);
gtk_widget_init_template (GTK_WIDGET (self));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]