[Xfce4-commits] [apps/parole] 01/01: Fix compiler warnings (clang) (bug #15260)"
noreply at xfce.org
noreply at xfce.org
Mon Jul 22 18:49:58 CEST 2019
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/parole.
commit 0947791e375342a2b5796c7a444204385fc6e8ba
Author: Olivier Duchateau <duchateau.olivier at gmail.com>
Date: Thu Apr 4 19:43:15 2019 +0200
Fix compiler warnings (clang) (bug #15260)"
Signed-off-by: Sean Davis <smd.seandavis at gmail.com>
---
src/gst/parole-gst.c | 2 +-
src/misc/parole-file.h | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/gst/parole-gst.c b/src/gst/parole-gst.c
index c33ddac..79d7ff6 100644
--- a/src/gst/parole-gst.c
+++ b/src/gst/parole-gst.c
@@ -1501,8 +1501,8 @@ parole_gst_change_state (ParoleGst *gst, GstState new) {
switch (ret) {
case GST_STATE_CHANGE_SUCCESS:
parole_gst_evaluate_state(gst,
- GST_STATE_RETURN(gst->priv->playbin),
GST_STATE(gst->priv->playbin),
+ GST_STATE_TARGET(gst->priv->playbin),
GST_STATE_PENDING(gst->priv->playbin));
break;
case GST_STATE_CHANGE_ASYNC:
diff --git a/src/misc/parole-file.h b/src/misc/parole-file.h
index a6fe0eb..0bb6f84 100644
--- a/src/misc/parole-file.h
+++ b/src/misc/parole-file.h
@@ -75,22 +75,22 @@ void parole_file_set_dvd_chapter (const ParoleFile *file, gin
gint parole_file_get_dvd_chapter (const ParoleFile *file);
const gchar
-G_CONST_RETURN *parole_file_get_directory (const ParoleFile *file) G_GNUC_PURE;
+*parole_file_get_directory (const ParoleFile *file) G_GNUC_PURE;
const gchar
-G_CONST_RETURN *parole_file_get_file_name (const ParoleFile *file) G_GNUC_PURE;
+*parole_file_get_file_name (const ParoleFile *file) G_GNUC_PURE;
const gchar
-G_CONST_RETURN *parole_file_get_display_name (const ParoleFile *file) G_GNUC_PURE;
+*parole_file_get_display_name (const ParoleFile *file) G_GNUC_PURE;
const gchar
-G_CONST_RETURN *parole_file_get_uri (const ParoleFile *file) G_GNUC_PURE;
+*parole_file_get_uri (const ParoleFile *file) G_GNUC_PURE;
const gchar
-G_CONST_RETURN *parole_file_get_content_type (const ParoleFile *file) G_GNUC_PURE;
+*parole_file_get_content_type (const ParoleFile *file) G_GNUC_PURE;
const gchar
-G_CONST_RETURN *parole_file_get_custom_subtitles (const ParoleFile *file) G_GNUC_PURE;
+*parole_file_get_custom_subtitles (const ParoleFile *file) G_GNUC_PURE;
G_END_DECLS
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list