[totem/gnome-3-10] thumbnailer: Remove unused GTK+ dependency
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/gnome-3-10] thumbnailer: Remove unused GTK+ dependency
- Date: Mon, 14 Oct 2013 05:48:48 +0000 (UTC)
commit 53c4ac9bdcc593dd75d6bf02809e71d0dd0bc0fa
Author: Bastien Nocera <hadess hadess net>
Date: Sun Oct 13 13:59:12 2013 +0200
thumbnailer: Remove unused GTK+ dependency
https://bugzilla.gnome.org/show_bug.cgi?id=709905
configure.ac | 2 +-
src/totem-video-thumbnailer.c | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 81210c1..31fa7ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -289,7 +289,7 @@ PKG_CHECK_MODULES(HELPER, gstreamer-1.0 gstreamer-tag-1.0)
PKG_CHECK_MODULES(TIME_HELPER, glib-2.0)
PKG_CHECK_MODULES(RTL_HELPER, glib-2.0 gtk+-3.0 >= $GTK_REQS)
PKG_CHECK_MODULES(PIXBUF_HELPER, gdk-pixbuf-2.0 gstreamer-tag-1.0 >= $GSTPLUG_REQS gstreamer-video-1.0)
-PKG_CHECK_MODULES(THUMBNAILER, gtk+-3.0 >= $GTK_REQS totem-plparser >= $TOTEM_PLPARSER_REQS
gstreamer-tag-1.0 >= $GSTPLUG_REQS gstreamer-video-1.0)
+PKG_CHECK_MODULES(THUMBNAILER, gdk-3.0 totem-plparser >= $TOTEM_PLPARSER_REQS gstreamer-tag-1.0 >=
$GSTPLUG_REQS gstreamer-video-1.0)
PKG_CHECK_MODULES(PREVIEW, gstreamer-1.0 >= $GST_REQS gio-2.0 >= $GIO_REQS gdk-pixbuf-2.0)
PKG_CHECK_MODULES(PROPERTIES, gtk+-3.0 >= $GTK_REQS)
diff --git a/src/totem-video-thumbnailer.c b/src/totem-video-thumbnailer.c
index a81751b..4956043 100644
--- a/src/totem-video-thumbnailer.c
+++ b/src/totem-video-thumbnailer.c
@@ -30,10 +30,10 @@
#define GST_USE_UNSTABLE_API 1
#include <glib/gstdio.h>
-#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <cairo.h>
#include <gst/gst.h>
+#include <gdk/gdk.h>
#include <totem-pl-parser.h>
#include <errno.h>
@@ -48,7 +48,6 @@
#include "gst/totem-gst-helpers.h"
#include "gst/totem-time-helpers.h"
#include "gst/totem-gst-pixbuf-helpers.h"
-#include "video-utils.h"
#include "totem-resources.h"
#ifdef G_HAVE_ISO_VARARGS
@@ -987,7 +986,6 @@ int main (int argc, char *argv[])
options = gst_init_get_option_group ();
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
g_option_context_add_group (context, options);
- g_option_context_add_group (context, gtk_get_option_group (TRUE));
if (g_option_context_parse (context, &argc, &argv, &err) == FALSE) {
g_print ("couldn't parse command-line options: %s\n", err->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]