[longomatch] Ensure we use Gdk native windows
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [longomatch] Ensure we use Gdk native windows
- Date: Wed,  3 Oct 2012 02:20:41 +0000 (UTC)
commit f5d941ccc140f4a571966fd3f51c97a7dfebab07
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Oct 3 04:20:12 2012 +0200
    Ensure we use Gdk native windows
 libcesarplayer/gst-camera-capturer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libcesarplayer/gst-camera-capturer.c b/libcesarplayer/gst-camera-capturer.c
index 0d289c3..1876886 100644
--- a/libcesarplayer/gst-camera-capturer.c
+++ b/libcesarplayer/gst-camera-capturer.c
@@ -408,6 +408,7 @@ gst_camera_capturer_realize (GtkWidget * widget)
   gcc->priv->video_window = gdk_window_new (window,
       &attributes, attributes_mask);
   gdk_window_set_user_data (gcc->priv->video_window, widget);
+  gdk_window_ensure_native(bvw->priv->video_window);
 
   gdk_color_parse ("black", &colour);
   gdk_colormap_alloc_color (gtk_widget_get_colormap (widget),
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]