diff options
Diffstat (limited to 'mate-panel/panel-widget.c')
-rw-r--r-- | mate-panel/panel-widget.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c index b77446d9..a36b14ac 100644 --- a/mate-panel/panel-widget.c +++ b/mate-panel/panel-widget.c @@ -1334,17 +1334,13 @@ panel_widget_size_request(GtkWidget *widget, GtkRequisition *minimum_size) panel->applets_using_hint = NULL; if (!panel->packed) { +#if !GTK_CHECK_VERSION (3, 0, 0) if (panel->orient == GTK_ORIENTATION_HORIZONTAL) { minimum_size->width = panel->size; -#if GTK_CHECK_VERSION (3, 0, 0) - natural_size->width = panel->size; -#endif } else { minimum_size->height = panel->size; -#if GTK_CHECK_VERSION (3, 0, 0) - natural_size->height = panel->size; -#endif } +#endif } else { /* put the list in the correct order: this is important * since we'll use this order in the size_allocate() */ |