[totem/gnome-3-6] browser-plugin: Issue a warning instead of asserting
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-6] browser-plugin: Issue a warning instead of asserting
- Date: Thu, 25 Oct 2012 08:53:35 +0000 (UTC)
commit ae95ce693a9bf3a6df7b2593933d96f77125dc15
Author: Bastien Nocera <hadess hadess net>
Date: Thu Oct 11 08:31:55 2012 +0200
browser-plugin: Issue a warning instead of asserting
browser-plugin/totem-plugin-viewer.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index a00e23f..d46e936 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -2184,8 +2184,10 @@ int main (int argc, char **argv)
}
#endif
- if (gtk_clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS)
- g_assert_not_reached ();
+ if (gtk_clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS) {
+ g_warning ("Could not initialise clutter-gtk");
+ return 1;
+ }
context = g_option_context_new ("- Play audio and video inside a web browser");
baconoptiongroup = bacon_video_widget_get_option_group();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]