[gtk+] Remove gtk_container_get_focus_child
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove gtk_container_get_focus_child
- Date: Fri, 31 Mar 2017 07:54:57 +0000 (UTC)
commit 0d480a3eb03d0c98e9e80a8eb5b6f11dba04c2c6
Author: Timm Bäder <mail baedert org>
Date: Wed Feb 8 09:07:18 2017 +0100
Remove gtk_container_get_focus_child
docs/reference/gtk/gtk4-sections.txt | 1 -
gtk/gtkcontainer.c | 22 ----------------------
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 514472b..9366f16 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 2065892..a5d40d5 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 6725a80..f559503 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]