Skip to content

Commit

Permalink
size_allocate makes left_label too small on gtk2
Browse files Browse the repository at this point in the history
  • Loading branch information
WrongNeko committed May 5, 2016
1 parent 86a0edc commit c9096b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status-bar.c
Expand Up @@ -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);
Expand Down

0 comments on commit c9096b1

Please sign in to comment.