summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetprivate.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-04-10 09:55:18 +0200
committerTimm Bäder <mail@baedert.org>2020-04-17 15:21:00 +0200
commitca47e96d359ac8484d335fc0d9b63cd39d5c1281 (patch)
tree3ac2587d89a67dbc4aeb0302c5468546b1a42aed /gtk/gtkwidgetprivate.h
parente58334995691797db5e5942785817ba5341babb0 (diff)
downloadgtk+-ca47e96d359ac8484d335fc0d9b63cd39d5c1281.tar.gz
widget: Return an array from list_devices
To forther reduce the GList usage in the code base.
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r--gtk/gtkwidgetprivate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 1b104e77d9..db969f4cb2 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -266,7 +266,8 @@ void _gtk_widget_set_device_surface (GtkWidget *widget,
GdkSurface *pointer_window);
GdkSurface * _gtk_widget_get_device_surface (GtkWidget *widget,
GdkDevice *device);
-GList * _gtk_widget_list_devices (GtkWidget *widget);
+GdkDevice ** _gtk_widget_list_devices (GtkWidget *widget,
+ guint *out_n_devices);
void _gtk_widget_synthesize_crossing (GtkWidget *from,
GtkWidget *to,