summaryrefslogtreecommitdiff
path: root/gdk/gdksurface.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-04-19 15:39:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-05-28 20:25:14 +0000
commit73a6aaebfd599ce7e7ff14fbdc8b468fbe548ca1 (patch)
tree62b794502997232b45c0b6a6eabf6e0ca3901f46 /gdk/gdksurface.h
parent48b522c487104a12ed4da40a828e1d4c831a4588 (diff)
downloadgtk+-73a6aaebfd599ce7e7ff14fbdc8b468fbe548ca1.tar.gz
surface: Make gdk_surface_get_device_position void
None of the callers were using the return value, and without child surfaces, it is not very useful.
Diffstat (limited to 'gdk/gdksurface.h')
-rw-r--r--gdk/gdksurface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdk/gdksurface.h b/gdk/gdksurface.h
index c39fc885b6..d64c63dd18 100644
--- a/gdk/gdksurface.h
+++ b/gdk/gdksurface.h
@@ -598,11 +598,11 @@ GDK_AVAILABLE_IN_ALL
gint gdk_surface_get_scale_factor (GdkSurface *surface);
GDK_AVAILABLE_IN_ALL
-GdkSurface * gdk_surface_get_device_position (GdkSurface *surface,
- GdkDevice *device,
- double *x,
- double *y,
- GdkModifierType *mask);
+void gdk_surface_get_device_position (GdkSurface *surface,
+ GdkDevice *device,
+ double *x,
+ double *y,
+ GdkModifierType *mask);
GDK_AVAILABLE_IN_ALL
void gdk_surface_set_icon_list (GdkSurface *surface,
GList *surfaces);