[totem] rotation: Remove unneeded Clutter dependency
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] rotation: Remove unneeded Clutter dependency
- Date: Fri, 30 May 2014 17:50:05 +0000 (UTC)
commit 3964922b9b010800109d0ae6106dfd14298a754b
Author: Bastien Nocera <hadess hadess net>
Date: Fri May 30 17:49:50 2014 +0200
rotation: Remove unneeded Clutter dependency
There's no need for a direct clutter dependency, we use the video
widget's helper functions now.
src/plugins/rotation/Makefile.am | 4 ++--
src/plugins/rotation/totem-rotation-plugin.vala | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/rotation/Makefile.am b/src/plugins/rotation/Makefile.am
index 7da6d70..bca407f 100644
--- a/src/plugins/rotation/Makefile.am
+++ b/src/plugins/rotation/Makefile.am
@@ -5,11 +5,11 @@ plugin_LTLIBRARIES = librotation.la
plugin_in_files = rotation.plugin.in
-# here we are explicitly specifying gtk+-3.0 and clutter-1.0 to use the vapi
+# here we are explicitly specifying gtk+-3.0 to use the vapi
# because vala still cannot parse the gir
AM_VALAFLAGS = \
--girdir=$(top_builddir)/src \
- --pkg Totem-1.0 --pkg libpeas-1.0 --pkg cogl-pango-1.0 --pkg GtkClutter-1.0 --pkg Clutter-1.0 --pkg
gtk+-3.0 bacon-video.vapi
+ --pkg Totem-1.0 --pkg libpeas-1.0 --pkg cogl-pango-1.0 --pkg gtk+-3.0 bacon-video.vapi
librotation_la_SOURCES = totem-rotation-plugin.vala
librotation_la_LDFLAGS = $(plugin_ldflags)
diff --git a/src/plugins/rotation/totem-rotation-plugin.vala b/src/plugins/rotation/totem-rotation-plugin.vala
index c2e3cb4..7a06d4c 100644
--- a/src/plugins/rotation/totem-rotation-plugin.vala
+++ b/src/plugins/rotation/totem-rotation-plugin.vala
@@ -19,8 +19,6 @@
using GLib;
using Totem;
using Peas;
-using Clutter;
-using GtkClutter;
public const string GIO_ROTATION_FILE_ATTRIBUTE = "metadata::totem::rotation";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]