Make gtk_widget_get_focus_child public

It doesn't really make sense to have only
the setter, but not the getter public.
This commit is contained in:
Matthias Clasen 2019-03-08 13:46:17 -05:00
parent 181a4bce25
commit 492a38c229
2 changed files with 3 additions and 2 deletions

View File

@ -1059,6 +1059,9 @@ void gtk_widget_insert_before (GtkWidget *widget,
GDK_AVAILABLE_IN_ALL
void gtk_widget_set_focus_child (GtkWidget *widget,
GtkWidget *child);
GDK_AVAILABLE_IN_ALL
GtkWidget * gtk_widget_get_focus_child (GtkWidget *widget);
GDK_AVAILABLE_IN_ALL
void gtk_widget_snapshot_child (GtkWidget *widget,
GtkWidget *child,

View File

@ -317,8 +317,6 @@ void gtk_widget_forall (GtkWidget
GtkCallback callback,
gpointer user_data);
GtkWidget *gtk_widget_get_focus_child (GtkWidget *widget);
void gtk_widget_focus_sort (GtkWidget *widget,
GtkDirectionType direction,
GPtrArray *focus_order);