[gtk+/wip/baedert/focus: 4/20] Make gtk_container_set_focus_child private



commit 1c90f3e4ec8f6f08a6e455dc6b0307d7f0961c9d
Author: Timm Bäder <mail baedert org>
Date:   Wed Feb 8 09:14:20 2017 +0100

    Make gtk_container_set_focus_child private

 docs/reference/gtk/gtk4-sections.txt |    1 -
 gtk/gtkcontainer.h                   |    4 ----
 gtk/gtkcontainerprivate.h            |    3 +++
 3 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index de7faef..63e903e 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_set_focus_child
 gtk_container_get_focus_vadjustment
 gtk_container_set_focus_vadjustment
 gtk_container_get_focus_hadjustment
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h
index f559503..f4c88d4 100644
--- a/gtk/gtkcontainer.h
+++ b/gtk/gtkcontainer.h
@@ -153,10 +153,6 @@ GDK_AVAILABLE_IN_ALL
 void     gtk_container_unset_focus_chain (GtkContainer  *container);
 
 /* Widget-level methods */
-
-GDK_AVAILABLE_IN_ALL
-void   gtk_container_set_focus_child      (GtkContainer     *container,
-                                           GtkWidget        *child);
 GDK_AVAILABLE_IN_ALL
 void   gtk_container_set_focus_vadjustment (GtkContainer     *container,
                                            GtkAdjustment    *adjustment);
diff --git a/gtk/gtkcontainerprivate.h b/gtk/gtkcontainerprivate.h
index 5cd640d..a737744 100644
--- a/gtk/gtkcontainerprivate.h
+++ b/gtk/gtkcontainerprivate.h
@@ -38,6 +38,9 @@ void      _gtk_container_stop_idle_sizer        (GtkContainer *container);
 void      _gtk_container_maybe_start_idle_sizer (GtkContainer *container);
 void      gtk_container_get_children_clip       (GtkContainer  *container,
                                                  GtkAllocation *out_clip);
+void      gtk_container_set_focus_child         (GtkContainer     *container,
+                                                 GtkWidget        *child);
+
 
 G_END_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]