[gtk-vnc] Revert "vncdisplay: check whether the widget is realized in	focus_in_event()"
- From: Fabiano Fidêncio <ffidencio src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk-vnc] Revert "vncdisplay: check whether the widget is realized in	focus_in_event()"
- Date: Wed, 18 Feb 2015 13:51:53 +0000 (UTC)
commit e3e3364b661b990c6a9c332beaa869d34a06d2bd
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Wed Feb 18 14:25:37 2015 +0100
    Revert "vncdisplay: check whether the widget is realized in focus_in_event()"
    
    This reverts commit 6f4a70d2a8540d121d1a794bef467bb3f54f9f0d, because
    the patch was applied to the wrong function.
 src/vncdisplay.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index 8e03b03..d8afba2 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -1052,9 +1052,6 @@ static gboolean enter_event(GtkWidget *widget, GdkEventCrossing *crossing G_GNUC
 {
     VncDisplayPrivate *priv = VNC_DISPLAY(widget)->priv;
 
-    if (!gtk_widget_get_realized(widget))
-        return TRUE;
-
     if (priv->conn == NULL || !vnc_connection_is_initialized(priv->conn))
         return FALSE;
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]