summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2015-10-27 15:26:41 +0100
committerDebarshi Ray <debarshir@gnome.org>2015-10-27 15:37:31 +0100
commit3244ae8658563a581dda192716a3ac534c7c9b8c (patch)
tree9f1cfadd9d737627206ac10a815a15fbc3dbf250
parent4c9d1b2acc49b19f9d9225ea419078f444d763ae (diff)
downloadnautilus-3244ae8658563a581dda192716a3ac534c7c9b8c.tar.gz
progress-info: Use the proper destroy method
https://bugzilla.gnome.org/show_bug.cgi?id=757190
-rw-r--r--libnautilus-private/nautilus-progress-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-progress-info.c b/libnautilus-private/nautilus-progress-info.c
index a554b5bed..de913a335 100644
--- a/libnautilus-private/nautilus-progress-info.c
+++ b/libnautilus-private/nautilus-progress-info.c
@@ -92,7 +92,7 @@ nautilus_progress_info_finalize (GObject *object)
g_free (info->status);
g_free (info->details);
- g_clear_object (&info->progress_timer);
+ g_clear_pointer (&info->progress_timer, (GDestroyNotify) g_timer_destroy);
g_cancellable_disconnect (info->cancellable, info->cancellable_id);
g_object_unref (info->cancellable);
g_cancellable_cancel (info->details_in_thread_cancellable);