[gtk+] Drop internal function from header



commit 0ea8572d89cd607c6f4d5b6b7b6524a9235ad773
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 13 00:54:31 2010 -0400

    Drop internal function from header
    
    Make _gtk_button_box_child_requisition static.

 gtk/gtkbbox.c |    2 +-
 gtk/gtkbbox.h |    6 ------
 2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c
index 0fa2f6e..655ba9a 100644
--- a/gtk/gtkbbox.c
+++ b/gtk/gtkbbox.c
@@ -396,7 +396,7 @@ gtk_button_box_set_child_secondary (GtkButtonBox *widget,
 /* Ask children how much space they require and round up
    to match minimum size and internal padding.
    Returns the size each single child should have. */
-void
+static void
 _gtk_button_box_child_requisition (GtkWidget *widget,
                                    int       *nvis_children,
                                    int       *nvis_secondaries,
diff --git a/gtk/gtkbbox.h b/gtk/gtkbbox.h
index d15fac8..878ba0a 100644
--- a/gtk/gtkbbox.h
+++ b/gtk/gtkbbox.h
@@ -73,12 +73,6 @@ void              gtk_button_box_set_child_secondary (GtkButtonBox      *widget,
 						      GtkWidget         *child,
 						      gboolean           is_secondary);
 
-/* Internal method - do not use. */
-void _gtk_button_box_child_requisition (GtkWidget *widget,
-					int       *nvis_children,
-					int       *nvis_secondaries,
-					int       *width,
-					int       *height);
 G_END_DECLS
 
 #endif /* __GTK_BUTTON_BOX_H__ */



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