[gnome-control-center] user-accounts: Don't link directly to GStreamer
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Don't link directly to GStreamer
- Date: Wed, 2 Mar 2016 10:47:31 +0000 (UTC)
commit ecaafb11bc1e49cd7ec38d6d893c98fccc2947b1
Author: Sebastien Bacher <seb128 ubuntu com>
Date: Fri Feb 12 11:30:31 2016 +0100
user-accounts: Don't link directly to GStreamer
The panel uses cheese and not GStreamer directly
https://bugzilla.gnome.org/show_bug.cgi?id=761915
configure.ac | 2 +-
panels/user-accounts/um-user-panel.c | 4 ----
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6c2f560..32c02bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -289,7 +289,7 @@ AC_ARG_WITH([cheese],
with_cheese=auto)
if test x"$with_cheese" != x"no" ; then
- PKG_CHECK_MODULES(CHEESE, gstreamer-1.0 cheese-gtk >= 3.5.91 cheese clutter-gtk-1.0, [have_cheese=yes],
[have_cheese=no])
+ PKG_CHECK_MODULES(CHEESE, cheese-gtk >= 3.5.91 cheese clutter-gtk-1.0, [have_cheese=yes],
[have_cheese=no])
if test x${have_cheese} = xyes; then
AC_DEFINE(HAVE_CHEESE, 1, [Define to 1 to enable cheese webcam support])
fi
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index f534745..bf4456c 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -39,10 +39,6 @@
#define GNOME_DESKTOP_USE_UNSTABLE_API
#include <libgnome-desktop/gnome-languages.h>
-#ifdef HAVE_CHEESE
-#include <gst/gst.h>
-#endif /* HAVE_CHEESE */
-
#include "shell/cc-editable-entry.h"
#include "um-editable-button.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]