From bf9bb7181351f2cadd1ff19831ca9cd337b52bb0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 26 Aug 2020 16:55:03 -0400 Subject: gdk: Cosmetics --- gdk/gdksurfaceprivate.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'gdk/gdksurfaceprivate.h') diff --git a/gdk/gdksurfaceprivate.h b/gdk/gdksurfaceprivate.h index e0a0c20b50..36db8286af 100644 --- a/gdk/gdksurfaceprivate.h +++ b/gdk/gdksurfaceprivate.h @@ -108,25 +108,23 @@ struct _GdkSurfaceClass GObjectClass parent_class; cairo_surface_t * - (* ref_cairo_surface) (GdkSurface *surface); - - void (* hide) (GdkSurface *surface); - void (* get_geometry) (GdkSurface *surface, + (* ref_cairo_surface) (GdkSurface *surface); + void (* hide) (GdkSurface *surface); + void (* get_geometry) (GdkSurface *surface, int *x, int *y, int *width, int *height); - void (* get_root_coords) (GdkSurface *surface, + void (* get_root_coords) (GdkSurface *surface, int x, int y, int *root_x, int *root_y); - gboolean (* get_device_state) (GdkSurface *surface, + gboolean (* get_device_state) (GdkSurface *surface, GdkDevice *device, double *x, double *y, GdkModifierType *mask); - void (* set_input_region) (GdkSurface *surface, cairo_region_t *shape_region); -- cgit v1.2.1