[gnome-mines] Fixed deprecated ungrab warning
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Fixed deprecated ungrab warning
- Date: Wed, 2 Nov 2016 07:06:06 +0000 (UTC)
commit bf7740d544d32f59a505cba58c12307c16365253
Author: Robert Roth <robert roth off gmail com>
Date: Wed Nov 2 09:05:55 2016 +0200
Fixed deprecated ungrab warning
src/tile.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/tile.vala b/src/tile.vala
index 34260ea..7a40b1d 100644
--- a/src/tile.vala
+++ b/src/tile.vala
@@ -47,7 +47,8 @@ public class Tile : Gtk.Button
{
/* By default windows with both button press and button release
* grab Gdk events, ungrab events here for other tiles. */
- event.device.ungrab (event.time);
+ event.get_seat().ungrab ();
+// event.device.ungrab (event.time);
tile_pressed (prow, pcol, event);
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]