[gdm: 2/10] gdm-sessions: Remove unnecessary cast to GDestroyNotify
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm: 2/10] gdm-sessions: Remove unnecessary cast to GDestroyNotify
- Date: Tue, 13 Aug 2019 20:34:30 +0000 (UTC)
commit aa9f266d16513f8ae644b9c2759d64c5df29ec2c
Author: Robert Mader <robert mader posteo de>
Date: Wed Mar 13 22:53:45 2019 +0100
gdm-sessions: Remove unnecessary cast to GDestroyNotify
daemon/gdm-session.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c
index d0e09b53..4e303e70 100644
--- a/daemon/gdm-session.c
+++ b/daemon/gdm-session.c
@@ -3163,7 +3163,7 @@ gdm_session_is_wayland_session (GdmSession *self)
g_debug ("GdmSession: checking if file '%s' is wayland session: %s", filename, is_wayland_session?
"yes" : "no");
out:
- g_clear_pointer (&key_file, (GDestroyNotify) g_key_file_free);
+ g_clear_pointer (&key_file, g_key_file_free);
g_free (filename);
return is_wayland_session;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]