summaryrefslogtreecommitdiff
path: root/gdk/wayland/gdkdrag-wayland.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 15:54:49 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch)
tree8dc515efd6e0c0b0da1d7e02049f284edd6050ff /gdk/wayland/gdkdrag-wayland.c
parent46423e614d4fcf142d9578d4788dde664ea280f9 (diff)
downloadgtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz
Replace "gint" with "int"
Diffstat (limited to 'gdk/wayland/gdkdrag-wayland.c')
-rw-r--r--gdk/wayland/gdkdrag-wayland.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdk/wayland/gdkdrag-wayland.c b/gdk/wayland/gdkdrag-wayland.c
index e09129f02f..05bf681717 100644
--- a/gdk/wayland/gdkdrag-wayland.c
+++ b/gdk/wayland/gdkdrag-wayland.c
@@ -51,8 +51,8 @@ struct _GdkWaylandDrag
struct wl_data_source *data_source;
struct wl_data_offer *offer;
uint32_t serial;
- gint hot_x;
- gint hot_y;
+ int hot_x;
+ int hot_y;
};
struct _GdkWaylandDragClass
@@ -122,12 +122,12 @@ gdk_wayland_drag_get_drag_surface (GdkDrag *drag)
static void
gdk_wayland_drag_set_hotspot (GdkDrag *drag,
- gint hot_x,
- gint hot_y)
+ int hot_x,
+ int hot_y)
{
GdkWaylandDrag *drag_wayland = GDK_WAYLAND_DRAG (drag);
- gint prev_hot_x = drag_wayland->hot_x;
- gint prev_hot_y = drag_wayland->hot_y;
+ int prev_hot_x = drag_wayland->hot_x;
+ int prev_hot_y = drag_wayland->hot_y;
const GdkRectangle damage_rect = { .width = 1, .height = 1 };
drag_wayland->hot_x = hot_x;