diff options
author | Timm Bäder <mail@baedert.org> | 2020-04-10 09:55:18 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-04-17 15:21:00 +0200 |
commit | ca47e96d359ac8484d335fc0d9b63cd39d5c1281 (patch) | |
tree | 3ac2587d89a67dbc4aeb0302c5468546b1a42aed /gtk/gtkwidgetprivate.h | |
parent | e58334995691797db5e5942785817ba5341babb0 (diff) | |
download | gtk+-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.h | 3 |
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, |