myfixed = GTK_MYFIXED (widget);
+#if (GTK_MINOR_VERSION > 0)
if (myfixed->shadow_type == GTK_SHADOW_NONE)
border = 0;
else
border = 2;
+#else
+ border = 0;
+#endif
widget->allocation = *allocation;
if (GTK_WIDGET_REALIZED (widget))
gdk_window_move_resize( widget->window,
allocation->x+border, allocation->y+border,
#if (GTK_MINOR_VERSION > 0)
- allocation->width-border*2, allocation->height-border*2 );
+ allocation->width-border*2, allocation->height-border*2
#else
- 32000, 32000 );
+ 32000, 32000
#endif
+ );
}
children = myfixed->children;