summaryrefslogtreecommitdiff
path: root/src/totem.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-03-13 11:21:27 +0100
committerBastien Nocera <hadess@hadess.net>2013-03-13 12:05:20 +0100
commit5c1dab8aed3b05da6bcab4815fcbdd6bd178d89e (patch)
tree122c7d36a48dd9c0b50c979f07dab9254eff17cd /src/totem.h
parente4c7d59e2c923ef1b7cb0af9f12c6c8e67197e77 (diff)
downloadtotem-5c1dab8aed3b05da6bcab4815fcbdd6bd178d89e.tar.gz
main: _set_mrl_with_warning() did not work
GStreamer would return the errors asynchronously, so it was impossible for us to detect errors through bvw_open()'s retval. Remove all the code that relied on that retval. We're still left with the same bugs we were before, that some errors are reported async when we don't want to hear about them.
Diffstat (limited to 'src/totem.h')
-rw-r--r--src/totem.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/totem.h b/src/totem.h
index 78084e3d0..186dc24ce 100644
--- a/src/totem.h
+++ b/src/totem.h
@@ -202,18 +202,13 @@ double totem_object_get_volume (TotemObject *totem);
void totem_object_action_volume (TotemObject *totem, double volume);
void totem_action_volume_relative (TotemObject *totem, double off_pct);
void totem_action_volume_toggle_mute (TotemObject *totem);
-gboolean totem_action_set_mrl (TotemObject *totem,
+void totem_action_set_mrl (TotemObject *totem,
const char *mrl,
const char *subtitle);
void totem_action_set_mrl_and_play (TotemObject *totem,
const char *mrl,
const char *subtitle);
-gboolean totem_action_set_mrl_with_warning (TotemObject *totem,
- const char *mrl,
- const char *subtitle,
- gboolean warn);
-
void totem_action_toggle_aspect_ratio (TotemObject *totem);
void totem_action_set_aspect_ratio (TotemObject *totem, int ratio);
int totem_action_get_aspect_ratio (TotemObject *totem);