]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/x-authority.c
Tidy up finalize methods
[sojka/lightdm.git] / src / x-authority.c
index 25f66438e6431bc33b1b1d22b236f171507e98fb..6e08d12e36abfc5e0e37570459f38e2a99bc2f5e 100644 (file)
@@ -372,9 +372,7 @@ x_authority_init (XAuthority *auth)
 static void
 x_authority_finalize (GObject *object)
 {
-    XAuthority *self;
-
-    self = X_AUTHORITY (object);
+    XAuthority *self = X_AUTHORITY (object);
 
     g_free (self->priv->address);
     g_free (self->priv->number);