summaryrefslogtreecommitdiff
path: root/shell/cc-application.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-06-21 10:23:28 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-07-16 11:51:07 +0200
commit3717e985ebfb09d3310fb2039650006e73133a9c (patch)
treeb9bdf40348019146291ac91237fa5709251ceff7 /shell/cc-application.c
parenta70172cfeacd1037e3b1d43431cd10b8084dbf6d (diff)
downloadgnome-control-center-3717e985ebfb09d3310fb2039650006e73133a9c.tar.gz
shell: Don't call gtk_clutter_init() when using cheese
cheese_gtk_init() is called as well and will be taking care of that for us. https://bugzilla.gnome.org/show_bug.cgi?id=751597
Diffstat (limited to 'shell/cc-application.c')
-rw-r--r--shell/cc-application.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/cc-application.c b/shell/cc-application.c
index bedf4c16b..1b6b9f8fe 100644
--- a/shell/cc-application.c
+++ b/shell/cc-application.c
@@ -30,9 +30,9 @@
#include "cc-shell-log.h"
#include "cc-window.h"
-#if defined(HAVE_CHEESE) || defined(HAVE_WACOM)
+#if defined(HAVE_WACOM)
#include <clutter-gtk/clutter-gtk.h>
-#endif /* HAVE_CHEESE || HAVE_WACOM */
+#endif /* HAVE_WACOM */
struct _CcApplicationPrivate
{
@@ -218,13 +218,13 @@ cc_application_startup (GApplication *application)
G_APPLICATION_CLASS (cc_application_parent_class)->startup (application);
-#if defined(HAVE_CHEESE) || defined(HAVE_WACOM)
+#if defined(HAVE_WACOM)
if (gtk_clutter_init (NULL, NULL) != CLUTTER_INIT_SUCCESS)
{
g_critical ("Unable to initialize Clutter");
return;
}
-#endif /* HAVE_CHEESE || HAVE_WACOM */
+#endif /* HAVE_WACOM */
action = g_simple_action_new ("help", NULL);
g_action_map_add_action (G_ACTION_MAP (application), G_ACTION (action));