diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2018-08-29 17:39:43 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-08-29 17:39:43 +0300 |
commit | 8209e69a87c75dac5008627aaa87de4d1caf8d7c (patch) | |
tree | 37d817a3c9336da0639c722b83e105fe497055af /src/nautilus-progress-info.c | |
parent | 0683ced73794582dfb020f987a081318a0cf0575 (diff) | |
download | nautilus-8209e69a87c75dac5008627aaa87de4d1caf8d7c.tar.gz |
progress-info: Remove cast from g_clear_pointer()
It’s superfluous and now causes GLib to throw warnings.
Diffstat (limited to 'src/nautilus-progress-info.c')
-rw-r--r-- | src/nautilus-progress-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-progress-info.c b/src/nautilus-progress-info.c index 57d50f79f..45f2842a9 100644 --- a/src/nautilus-progress-info.c +++ b/src/nautilus-progress-info.c @@ -92,7 +92,7 @@ nautilus_progress_info_finalize (GObject *object) g_free (info->status); g_free (info->details); - g_clear_pointer (&info->progress_timer, (GDestroyNotify) g_timer_destroy); + g_clear_pointer (&info->progress_timer, g_timer_destroy); g_cancellable_disconnect (info->cancellable, info->cancellable_id); g_object_unref (info->cancellable); g_cancellable_cancel (info->details_in_thread_cancellable); |