Commit d81f8c10 authored by Matthias Clasen's avatar Matthias Clasen

box: Add a way to get the gadget

This will be used in GtkButtonBox.
parent acd339a9
......@@ -2102,6 +2102,12 @@ gtk_box_init (GtkBox *box)
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (box));
}
GtkCssGadget *
gtk_box_get_gadget (GtkBox *box)
{
return box->priv->gadget;
}
/**
* gtk_box_new:
* @orientation: the box’s orientation.
......
......@@ -20,6 +20,7 @@
#define __GTK_BOX_PRIVATE_H__
#include "gtkbox.h"
#include "gtkcssgadgetprivate.h"
G_BEGIN_DECLS
......@@ -30,6 +31,8 @@ void _gtk_box_set_spacing_set (GtkBox *box,
gboolean spacing_set);
GList *_gtk_box_get_children (GtkBox *box);
GtkCssGadget *gtk_box_get_gadget (GtkBox *box);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment