summaryrefslogtreecommitdiff
path: root/gtk/gtkactionbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-18 22:57:16 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-18 22:57:16 -0500
commita3fd5a010b59187b5ce739b0eb07d6ccd2b02887 (patch)
tree548c88c987cc71d8cb0baacffc20586488c12aec /gtk/gtkactionbar.c
parentb90fa7dcd18160ed060d0205872bdbe231410e80 (diff)
downloadgtk+-a3fd5a010b59187b5ce739b0eb07d6ccd2b02887.tar.gz
Simplify actionbar
We don't need a frame widget here, just render a top border on the box.
Diffstat (limited to 'gtk/gtkactionbar.c')
-rw-r--r--gtk/gtkactionbar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkactionbar.c b/gtk/gtkactionbar.c
index b88b1d8da9..84c43a83a4 100644
--- a/gtk/gtkactionbar.c
+++ b/gtk/gtkactionbar.c
@@ -251,8 +251,9 @@ gtk_action_bar_allocate (GtkCssGadget *gadget,
gpointer data)
{
GtkWidget *widget = gtk_css_gadget_get_owner (gadget);
+ GtkActionBarPrivate *priv = gtk_action_bar_get_instance_private (GTK_ACTION_BAR (widget));
- GTK_WIDGET_CLASS (gtk_action_bar_parent_class)->size_allocate (widget, (GtkAllocation *)allocation);
+ gtk_widget_size_allocate (priv->revealer, (GtkAllocation *)allocation);
gtk_container_get_children_clip (GTK_CONTAINER (widget), out_clip);
}