File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -278,6 +278,7 @@ static void lxpanel_size_request(GtkWidget *widget, GtkRequisition *req)
278
278
if (!p -> visible
279
279
/* When the panel is in invisible state, the content box also got hidden, thus always
280
280
* report 0 size. Ask the content box instead for its size. */
281
+ #ifdef WNCK_CHECK_VERSION
281
282
#if WNCK_CHECK_VERSION (40 , 0 , 0 )
282
283
/* Commit 3456b747b6381f17d48629dd8fdd4d511e739b10 in libwnck and
283
284
lxpanel sizing being implemented based on GTK+ 2 result in a cropped
@@ -293,6 +294,7 @@ static void lxpanel_size_request(GtkWidget *widget, GtkRequisition *req)
293
294
This fix should be replaced with a proper GTK 3
294
295
width-for-height/height-for-width implementation. */
295
296
|| (p -> widthtype == WIDTH_REQUEST && lxpanel_has_plugin (panel , "pager" ))
297
+ #endif
296
298
#endif
297
299
)
298
300
gtk_widget_size_request (p -> box , req );
You can’t perform that action at this time.
0 commit comments