[empathy] CallWindow: round the video preview corners



commit 46958ec5bbd485a9875047c367d32deb8ba0aa54
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Wed Aug 17 12:20:43 2011 +0100

    CallWindow: round the video preview corners
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656576

 src/empathy-call-window.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index bbaf96a..3e1037d 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -65,6 +65,7 @@
 #include "empathy-mic-menu.h"
 #include "empathy-preferences.h"
 #include "empathy-rounded-actor.h"
+#include "empathy-rounded-texture.h"
 #include "empathy-camera-menu.h"
 
 #define CONTENT_HBOX_BORDER_WIDTH 6
@@ -995,7 +996,7 @@ create_video_preview (EmpathyCallWindow *self)
 
   g_assert (priv->video_preview == NULL);
 
-  preview = clutter_texture_new ();
+  preview = empathy_rounded_texture_new ();
   clutter_actor_set_size (preview,
       SELF_VIDEO_SECTION_WIDTH, SELF_VIDEO_SECTION_HEIGHT);
   priv->video_preview_sink = clutter_gst_video_sink_new (



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