Remove gtk_container_get_focus_child

This commit is contained in:
Timm Bäder 2017-02-08 09:07:18 +01:00
parent 43cdeee3c4
commit 0d480a3eb0
3 changed files with 0 additions and 26 deletions

View File

@ -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

View File

@ -1987,28 +1987,6 @@ gtk_container_set_focus_child (GtkContainer *container,
g_signal_emit (container, container_signals[SET_FOCUS_CHILD], 0, child);
}
/**
* 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

View File

@ -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