[totem] bacon-video-widget: fix wrong argument passed to g_object_unref
- From: Tim-Philipp MÃller <tpm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] bacon-video-widget: fix wrong argument passed to g_object_unref
- Date: Mon, 10 Sep 2012 10:15:42 +0000 (UTC)
commit 851cb87d661d107ac574e18b928c2fcd460bf3bf
Author: Tim-Philipp MÃller <tim centricular net>
Date: Mon Sep 10 11:13:58 2012 +0100
bacon-video-widget: fix wrong argument passed to g_object_unref
src/backend/bacon-video-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 1b5fd43..9bd97a3 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -2475,7 +2475,7 @@ bvw_query_buffering_timeout (BaconVideoWidget *bvw)
if (fill == 1.0) {
bvw->priv->fill_id = 0;
gst_query_unref (query);
- g_object_unref (&bvw->priv->download_buffering_element);
+ g_clear_object (&bvw->priv->download_buffering_element);
/* Tell the front-end about the downloaded file */
g_object_notify (G_OBJECT (bvw), "download-filename");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]