Commit 45d4944b authored by Bastien Nocera's avatar Bastien Nocera
Browse files

user-accounts: Fix crash when built with cheese support

The cheese support needs clutter, GStreamer and clutter-gst initialised.
Call cheese_gtk_init() for that.

https://bugzilla.gnome.org/show_bug.cgi?id=690760
parent 7e8f9776
......@@ -35,6 +35,10 @@
#include <X11/Xlib.h>
#endif
#ifdef HAVE_CHEESE
#include <cheese-gtk.h>
#endif /* HAVE_CHEESE */
#include "cc-shell-log.h"
G_GNUC_NORETURN static gboolean
......@@ -117,6 +121,10 @@ application_command_line_cb (GApplication *application,
g_option_context_free (context);
#ifdef HAVE_CHEESE
cheese_gtk_init (&argc, &argv);
#endif /* HAVE_CHEESE */
cc_shell_log_set_debug (verbose);
gnome_control_center_show (shell, GTK_APPLICATION (application));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment