Displaying 1 result from an estimated 1 matches for "icon_space".
2008 Mar 20
0
gtk-window-decorator - unneeded MAX ()
Hi, it seems to me that line gtk-window-decorator.c:3324 could be written as
"top_width = w;" as w will always me the maximum, due to line 3319.
3319 if (w < ICON_SPACE + d->button_width)
3320 return FALSE;
3321
3322 top_width = name_width + d->button_width + ICON_SPACE;
3323 if (w < top_width)
3324 top_width = MAX (ICON_SPACE + d->button_width, w);
- Joel
-------------- next part --------------
An HTML attachment was scrubbed...