mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
Drop gtkboxprivate.h
Not needed anymore.
This commit is contained in:
parent
de4703ebfa
commit
32e61b955a
@ -11,7 +11,6 @@ private_headers = [
|
||||
'gtkapplicationprivate.h',
|
||||
'gtkbindingsprivate.h',
|
||||
'gtkbitmaskprivate.h',
|
||||
'gtkboxprivate.h',
|
||||
'gtkbuilderprivate.h',
|
||||
'gtkbuttonprivate.h',
|
||||
'gtkcellareaboxcontextprivate.h',
|
||||
|
17
gtk/gtkbox.c
17
gtk/gtkbox.c
@ -57,7 +57,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "gtkbox.h"
|
||||
#include "gtkboxprivate.h"
|
||||
#include "gtkcsspositionvalueprivate.h"
|
||||
#include "gtkintl.h"
|
||||
#include "gtkorientable.h"
|
||||
@ -1081,22 +1080,6 @@ gtk_box_forall (GtkContainer *container,
|
||||
|
||||
}
|
||||
|
||||
GList *
|
||||
_gtk_box_get_children (GtkBox *box)
|
||||
{
|
||||
GtkWidget *p;
|
||||
GList *retval = NULL;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_BOX (box), NULL);
|
||||
|
||||
for (p = _gtk_widget_get_first_child (GTK_WIDGET (box));
|
||||
p != NULL;
|
||||
p = _gtk_widget_get_next_sibling (p))
|
||||
retval = g_list_prepend (retval, p);
|
||||
|
||||
return g_list_reverse (retval);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_box_insert_child_after:
|
||||
* @box: a #GtkBox
|
||||
|
@ -1,30 +0,0 @@
|
||||
/* GTK - The GIMP Toolkit
|
||||
*
|
||||
* Copyright (C) 2011 Javier Jardón
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __GTK_BOX_PRIVATE_H__
|
||||
#define __GTK_BOX_PRIVATE_H__
|
||||
|
||||
#include "gtkbox.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GList *_gtk_box_get_children (GtkBox *box);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GTK_BOX_PRIVATE_H__ */
|
@ -34,7 +34,6 @@
|
||||
#include "gtklabel.h"
|
||||
#include "gtkmarshalers.h"
|
||||
#include "gtkbox.h"
|
||||
#include "gtkboxprivate.h"
|
||||
#include "gtkcontainerprivate.h"
|
||||
#include "gtkmain.h"
|
||||
#include "gtkintl.h"
|
||||
|
Loading…
Reference in New Issue
Block a user