1
From a846198d824cd8dd39d37d869607cdb2193dbd83 Mon Sep 17 00:00:00 2001
2
From: Iain Lane <iain@orangesquash.org.uk>
3
Date: Mon, 8 Jun 2015 13:32:21 +0100
4
Subject: [PATCH 1/2] cheese-flash: Don't set a GdkVisual: it makes the flash
8
src/cheese-flash.c | 9 ---------
9
1 file changed, 9 deletions(-)
11
diff --git a/src/cheese-flash.c b/src/cheese-flash.c
12
index f60cd56..51155bd 100644
13
--- a/src/cheese-flash.c
14
+++ b/src/cheese-flash.c
15
@@ -71,7 +71,6 @@ cheese_flash_init (CheeseFlash *self)
16
cairo_region_t *input_region;
21
priv->flash_timeout_tag = 0;
22
priv->fade_timeout_tag = 0;
23
@@ -89,14 +88,6 @@ cheese_flash_init (CheeseFlash *self)
24
gtk_window_set_accept_focus (window, FALSE);
25
gtk_window_set_focus_on_map (window, FALSE);
28
- screen = gtk_widget_get_screen (GTK_WIDGET (window));
29
- visual = gdk_screen_get_rgba_visual (screen);
31
- visual = gdk_screen_get_system_visual (screen);
33
- gtk_widget_set_visual (GTK_WIDGET (window), visual);
35
/* Don't consume input */
36
gtk_widget_realize (GTK_WIDGET (window));