diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-11-30 23:39:03 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-01 00:30:10 +0800 |
commit | 2ce2f8c27698e6122c6a2687f710a18bb4ca602b (patch) | |
tree | c6e835126b3802f66e4ff6a8b5f480cb397eb487 /calendar/gui/e-day-view.h | |
parent | ab3f65a15e1b6fe5bdf488e6e879899e283ccc43 (diff) | |
download | gsoc2013-evolution-2ce2f8c27698e6122c6a2687f710a18bb4ca602b.tar.gz 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.h | 3 |
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; |