[gnome-settings-daemon/wip/benzea/cleanups-and-small-fixes: 20/51] color: Fix warning from cast in g_clear_pointer parameter
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/wip/benzea/cleanups-and-small-fixes: 20/51] color: Fix warning from cast in g_clear_pointer parameter
- Date: Tue, 26 Feb 2019 10:53:21 +0000 (UTC)
commit 6c0427016ff9bd0906dcdcec9364d24a3359ce03
Author: Benjamin Berg <bberg redhat com>
Date: Wed Feb 20 15:22:44 2019 +0100
color: Fix warning from cast in g_clear_pointer parameter
plugins/color/gsd-night-light.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/color/gsd-night-light.c b/plugins/color/gsd-night-light.c
index acbcecbc..d0349cc0 100644
--- a/plugins/color/gsd-night-light.c
+++ b/plugins/color/gsd-night-light.c
@@ -633,7 +633,7 @@ gsd_night_light_finalize (GObject *object)
poll_smooth_destroy (self);
g_clear_object (&self->settings);
- g_clear_pointer (&self->datetime_override, (GDestroyNotify) g_date_time_unref);
+ g_clear_pointer (&self->datetime_override, g_date_time_unref);
g_clear_pointer (&self->disabled_until_tmw_dt, g_date_time_unref);
if (self->validate_id > 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]