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:26:41 +0100
commit4feaec855e6ab9c0c8074346d4a4e00b2dfd35f0 (patch)
tree93eb93f4356975a23904a81e528f502326dc18dc
parentb2d37a0523507cb3fc0b3d3e95048a91eb54b6ba (diff)
downloadnautilus-4feaec855e6ab9c0c8074346d4a4e00b2dfd35f0.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);