[epiphany/gnome-3-0] ephy-overlay-escaping-child: fix warnings
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-0] ephy-overlay-escaping-child: fix warnings
- Date: Sun, 1 May 2011 23:43:54 +0000 (UTC)
commit 3057206d545ced49647e86d0c50c96a5f31255ec
Author: Xan Lopez <xlopez igalia com>
Date: Tue Apr 26 12:28:39 2011 -0700
ephy-overlay-escaping-child: fix warnings
lib/widgets/ephy-overlay-escaping-child.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/lib/widgets/ephy-overlay-escaping-child.c b/lib/widgets/ephy-overlay-escaping-child.c
index 65ce832..c321d92 100644
--- a/lib/widgets/ephy-overlay-escaping-child.c
+++ b/lib/widgets/ephy-overlay-escaping-child.c
@@ -1,5 +1,5 @@
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
- *
* Copyright © 2011 Igalia S.L.
*
* This library is free software; you can redistribute it and/or
@@ -184,10 +184,15 @@ ephy_overlay_escaping_child_motion_notify_event (GtkWidget *widget,
static void
ephy_overlay_escaping_child_realize (GtkWidget *widget)
{
+ GdkWindow *window;
+ GdkEventMask events;
+
GTK_WIDGET_CLASS (ephy_overlay_escaping_child_parent_class)->realize (widget);
- GdkWindow *window = gtk_widget_get_window (widget);
- GdkEventMask events = gdk_window_get_events (window);
+
+ window = gtk_widget_get_window (widget);
+ events = gdk_window_get_events (window);
events |= GDK_POINTER_MOTION_MASK;
+
gdk_window_set_events (window, events);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]