[recipes/meson2: 6/19] Don't destroy context if canberra support is disabled
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes/meson2: 6/19] Don't destroy context if canberra support is disabled
- Date: Sat, 18 Feb 2017 19:57:54 +0000 (UTC)
commit 30570f386c70b9e00b36545e0106e21388b416a4
Author: Nirbheek Chauhan <nirbheek centricular com>
Date: Sat Feb 18 22:26:49 2017 +0530
Don't destroy context if canberra support is disabled
src/gr-cooking-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-cooking-view.c b/src/gr-cooking-view.c
index 9194013..960f0cb 100644
--- a/src/gr-cooking-view.c
+++ b/src/gr-cooking-view.c
@@ -138,7 +138,9 @@ gr_cooking_view_finalize (GObject *object)
g_clear_pointer (&self->instructions, g_free);
g_clear_pointer (&self->steps, g_ptr_array_unref);
+#ifdef ENABLE_CANBERRA
ca_context_destroy (self->c);
+#endif
G_OBJECT_CLASS (gr_cooking_view_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]