summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-10-11 10:26:25 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-10-14 15:06:12 -0400
commit18c4bdad6fbe6c2b17e971f4be0f76482bc7af74 (patch)
tree9905ab189d43e0b6dd1a61fc5a055b0ee4cd019a
parentf20795471c9644783768e2ec0b35cf03bb7ccf9f (diff)
downloadgtk+-18c4bdad6fbe6c2b17e971f4be0f76482bc7af74.tar.gz
widget: Remove gtk_widget_list_devices() from private header
-rw-r--r--gtk/gtkwidget.c2
-rw-r--r--gtk/gtkwidgetprivate.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 37ec32857a..b12aeaedf4 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7450,7 +7450,7 @@ gtk_widget_adjust_baseline_request (GtkWidget *widget,
* with g_free(), the elements are owned by GTK and must
* not be freed.
*/
-GdkDevice **
+static GdkDevice **
_gtk_widget_list_devices (GtkWidget *widget,
guint *out_n_devices)
{
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 9ab7f37f3c..761a190e1d 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -251,9 +251,6 @@ void _gtk_widget_propagate_display_changed (GtkWidget *widget,
void _gtk_widget_set_device_surface (GtkWidget *widget,
GdkDevice *device,
GdkSurface *pointer_window);
-GdkDevice ** _gtk_widget_list_devices (GtkWidget *widget,
- guint *out_n_devices);
-
void _gtk_widget_synthesize_crossing (GtkWidget *from,
GtkWidget *to,
GdkDevice *device,