aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-11-30 23:39:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-01 00:30:10 +0800
commit2ce2f8c27698e6122c6a2687f710a18bb4ca602b (patch)
treec6e835126b3802f66e4ff6a8b5f480cb397eb487 /calendar/gui/e-day-view.h
parentab3f65a15e1b6fe5bdf488e6e879899e283ccc43 (diff)
downloadgsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.tar
gsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.tar.gz
gsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.tar.bz2
gsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.tar.lz
gsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.tar.xz
gsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.tar.zst
gsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.zip
Avoid gdk_keyboard_grab/ungrab() and gdk_pointer_grab/ungrab().
Use gdk_device_grab() and gdk_device_ungrab() instead. In some cases this requires stashing the grabbed device so it can be ungrabbed outside of an GdkEvent handler.
Diffstat (limited to 'calendar/gui/e-day-view.h')
-rw-r--r--calendar/gui/e-day-view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h
index 9f43a1ad78..5bf8974b69 100644
--- a/calendar/gui/e-day-view.h
+++ b/calendar/gui/e-day-view.h
@@ -459,6 +459,9 @@ struct _EDayView {
GnomeCanvasItem *drag_bar_item;
GnomeCanvasItem *drag_item;
+ /* Grabbed pointer device while dragging. */
+ GdkDevice *grabbed_pointer;
+
/* "am" and "pm" in the current locale, and their widths. */
gchar *am_string;
gchar *pm_string;