summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetprivate.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-03-28 20:37:29 +0100
committerTimm Bäder <mail@baedert.org>2020-03-29 15:32:54 +0200
commit785b33f169db0c3788f466037115ed3027b145b2 (patch)
tree2efa08b0e71804b89541cb099e7846607f837f23 /gtk/gtkwidgetprivate.h
parentaf749dc1dc83810e6bbf0658dd608c1c1b75cb9e (diff)
downloadgtk+-785b33f169db0c3788f466037115ed3027b145b2.tar.gz
widget: Return an array from list_controllers
Minimize the GList usage throughout the code base.
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r--gtk/gtkwidgetprivate.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index a89dc21b17..53467aeae1 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -295,8 +295,9 @@ gboolean gtk_widget_has_size_request (GtkWidget *widget);
void gtk_widget_reset_controllers (GtkWidget *widget);
-GList * gtk_widget_list_controllers (GtkWidget *widget,
- GtkPropagationPhase phase);
+GtkEventController **gtk_widget_list_controllers (GtkWidget *widget,
+ GtkPropagationPhase phase,
+ guint *out_n_controllers);
gboolean gtk_widget_query_tooltip (GtkWidget *widget,
gint x,