[gnome-settings-daemon/wip/benzea/cleanups-and-small-fixes: 10/18] 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: 10/18] color: Fix warning from cast in g_clear_pointer parameter
- Date: Wed, 20 Feb 2019 16:12:12 +0000 (UTC)
commit b9a218ef15429f84e8ee432ebbb9900208b17f76
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]