[cheese] libcheese: Removing unnecessary includes



commit 6d7e4dfc787cc791cc85a7b4d07bc4ed241a7d58
Author: Luciana Fujii Pontello <luciana fujii eti br>
Date:   Mon Jan 31 17:54:38 2011 -0200

    libcheese: Removing unnecessary includes
    
    Removing unnecessary includes of gtk in libcheese modules.

 libcheese/cheese-camera-device-monitor.h |    1 -
 libcheese/cheese-camera.c                |    8 --------
 libcheese/cheese-camera.h                |    2 +-
 3 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/libcheese/cheese-camera-device-monitor.h b/libcheese/cheese-camera-device-monitor.h
index ddfb009..d0d98a4 100644
--- a/libcheese/cheese-camera-device-monitor.h
+++ b/libcheese/cheese-camera-device-monitor.h
@@ -24,7 +24,6 @@
 #define __CHEESE_CAMERA_DEVICE_MONITOR_H__
 
 #include <glib-object.h>
-#include <gtk/gtk.h>
 #include <gst/interfaces/xoverlay.h>
 
 G_BEGIN_DECLS
diff --git a/libcheese/cheese-camera.c b/libcheese/cheese-camera.c
index 66b31e2..f231e6b 100644
--- a/libcheese/cheese-camera.c
+++ b/libcheese/cheese-camera.c
@@ -27,12 +27,9 @@
 #include <glib-object.h>
 #include <glib.h>
 #include <glib/gi18n.h>
-#include <gtk/gtk.h>
 #include <clutter/clutter.h>
 #include <clutter-gst/clutter-gst.h>
-#include <gdk/gdkx.h>
 #include <gst/gst.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
 #include <X11/Xlib.h>
 
 #include "cheese-camera.h"
@@ -47,8 +44,6 @@ G_DEFINE_TYPE (CheeseCamera, cheese_camera, G_TYPE_OBJECT)
 
 typedef struct
 {
-  GtkWidget *video_window;
-
   GstElement *pipeline;
   GstBus *bus;
 
@@ -1042,9 +1037,6 @@ cheese_camera_set_property (GObject *object, guint prop_id, const GValue *value,
   {
     case PROP_VIDEO_TEXTURE:
       priv->video_texture = g_value_get_pointer (value);
-
-      /*      g_signal_connect (priv->video_window, "expose-event", */
-      /*                G_CALLBACK (cheese_camera_expose_cb), self); */
       break;
     case PROP_DEVICE_NAME:
       g_free (priv->device_name);
diff --git a/libcheese/cheese-camera.h b/libcheese/cheese-camera.h
index e37af8e..e129828 100644
--- a/libcheese/cheese-camera.h
+++ b/libcheese/cheese-camera.h
@@ -25,11 +25,11 @@
 #define __CHEESE_CAMERA_H__
 
 #include <glib-object.h>
-#include <gtk/gtk.h>
 #include <gst/interfaces/xoverlay.h>
 #include <clutter/clutter.h>
 #include <cheese-camera-device.h>
 #include <cheese-effect.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
 
 G_BEGIN_DECLS
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]