diff options
author | Timm Bäder <mail@baedert.org> | 2017-02-08 09:07:18 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2017-03-31 09:50:39 +0200 |
commit | 0d480a3eb03d0c98e9e80a8eb5b6f11dba04c2c6 (patch) | |
tree | 99f7ad6d90800e5400bb64a9f08485b205932b42 | |
parent | 43cdeee3c4a5486664e68394d08469c5a39770a3 (diff) | |
download | gtk+-0d480a3eb03d0c98e9e80a8eb5b6f11dba04c2c6.tar.gz |
Remove gtk_container_get_focus_child
-rw-r--r-- | docs/reference/gtk/gtk4-sections.txt | 1 | ||||
-rw-r--r-- | gtk/gtkcontainer.c | 22 | ||||
-rw-r--r-- | gtk/gtkcontainer.h | 3 |
3 files changed, 0 insertions, 26 deletions
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt index 514472bd87..9366f16f4c 100644 --- a/docs/reference/gtk/gtk4-sections.txt +++ b/docs/reference/gtk/gtk4-sections.txt @@ -720,7 +720,6 @@ gtk_container_check_resize gtk_container_foreach gtk_container_get_children gtk_container_get_path_for_child -gtk_container_get_focus_child gtk_container_set_focus_child gtk_container_get_focus_vadjustment gtk_container_set_focus_vadjustment diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 206589248d..a5d40d559d 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1988,28 +1988,6 @@ gtk_container_set_focus_child (GtkContainer *container, } /** - * gtk_container_get_focus_child: - * @container: a #GtkContainer - * - * Returns the current focus child widget inside @container. This is not the - * currently focused widget. That can be obtained by calling - * gtk_window_get_focus(). - * - * Returns: (nullable) (transfer none): The child widget which will receive the - * focus inside @container when the @container is focused, - * or %NULL if none is set. - * - * Since: 2.14 - **/ -GtkWidget * -gtk_container_get_focus_child (GtkContainer *container) -{ - g_return_val_if_fail (GTK_IS_CONTAINER (container), NULL); - - return container->priv->focus_child; -} - -/** * gtk_container_get_children: * @container: a #GtkContainer * diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h index 6725a80e25..f55950315a 100644 --- a/gtk/gtkcontainer.h +++ b/gtk/gtkcontainer.h @@ -158,9 +158,6 @@ GDK_AVAILABLE_IN_ALL void gtk_container_set_focus_child (GtkContainer *container, GtkWidget *child); GDK_AVAILABLE_IN_ALL -GtkWidget * - gtk_container_get_focus_child (GtkContainer *container); -GDK_AVAILABLE_IN_ALL void gtk_container_set_focus_vadjustment (GtkContainer *container, GtkAdjustment *adjustment); GDK_AVAILABLE_IN_ALL |