From d541e862eac7ea35213d93a1852caa72720ad1dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Tue, 26 May 2015 01:47:31 +0200 Subject: Fix g_object_set last argument This resolves Bug 2433 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot (cherry picked from commit a01ecb74ec118fb468133db6af28611f1024caee) --- src/gstplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gstplayer.cpp b/src/gstplayer.cpp index c4bf580..0585ac9 100644 --- a/src/gstplayer.cpp +++ b/src/gstplayer.cpp @@ -750,7 +750,7 @@ void KGStreamerPlayer::seek (int val /*offset_in_deciseconds*/) { void KGStreamerPlayer::volume (int val) { //fprintf (stderr, "position %d\n", val); if (gst_elm_play) - g_object_set (G_OBJECT (gst_elm_play), "volume", 1.0*val/100, 0L); + g_object_set (G_OBJECT (gst_elm_play), "volume", 1.0*val/100, NULL); } void KGStreamerPlayer::updatePosition () { -- cgit v1.2.1