From c9096b1c865cc96349ce15decf62a382a87ebb40 Mon Sep 17 00:00:00 2001 From: WrongNeko Date: Thu, 5 May 2016 21:24:37 +0300 Subject: [PATCH] size_allocate makes left_label too small on gtk2 --- src/status-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status-bar.c b/src/status-bar.c index d60ac8fec..b8c260952 100644 --- a/src/status-bar.c +++ b/src/status-bar.c @@ -101,9 +101,9 @@ allocate (GtkWidget *widget, GtkAllocation *allocation) int left_natural_width; +#if GTK_CHECK_VERSION (3, 0, 0) GTK_WIDGET_CLASS (uzbl_status_bar_parent_class)->size_allocate (widget, allocation); -#if GTK_CHECK_VERSION (3, 0, 0) GtkRequisition left_requisition_nat; gtk_widget_get_preferred_size (status_bar->left_label, &left_requisition, &left_requisition_nat);