diff options
Diffstat (limited to 'mate-panel/panel-widget.c')
-rw-r--r-- | mate-panel/panel-widget.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c index a8c01854..ebaf74bf 100644 --- a/mate-panel/panel-widget.c +++ b/mate-panel/panel-widget.c @@ -1449,7 +1449,6 @@ panel_widget_size_allocate(GtkWidget *widget, GtkAllocation *allocation) list = g_list_next (list)) { AppletData *ad = list->data; GtkRequisition chreq; - gtk_widget_get_preferred_size (ad->applet, &chreq, NULL); if (!ad->expand_major || !ad->size_hints) { @@ -1465,7 +1464,6 @@ panel_widget_size_allocate(GtkWidget *widget, GtkAllocation *allocation) } ad->constrained = ad->pos; - if (ad->constrained < i) ad->constrained = i; |