[gdm: 3/10] gdm-sessions-worker: Remove unnecessary cast to GDestroyNotify
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm: 3/10] gdm-sessions-worker: Remove unnecessary cast to GDestroyNotify
- Date: Tue, 13 Aug 2019 20:34:35 +0000 (UTC)
commit 92295262abdb269e6d723f06565ce2c50d6a09c7
Author: Robert Mader <robert mader posteo de>
Date: Wed Mar 13 22:54:45 2019 +0100
gdm-sessions-worker: Remove unnecessary cast to GDestroyNotify
daemon/gdm-session-worker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index aa824bcf..1193e7cd 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -3202,7 +3202,7 @@ gdm_session_worker_handle_start_program (GdmDBusWorker *object,
g_debug ("GdmSessionWorker: start program: %s", text);
- g_clear_pointer (&worker->priv->arguments, (GDestroyNotify) g_strfreev);
+ g_clear_pointer (&worker->priv->arguments, g_strfreev);
if (! g_shell_parse_argv (text, NULL, &worker->priv->arguments, &parse_error)) {
g_dbus_method_invocation_take_error (invocation, parse_error);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]