gtk_icon_theme_load_icon desired size, width or height?



Hi,

Basically, how should one write the following?  Assume that width !=
height as there's nothing that would require them to be equal as far
as I can tell.

gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, &height);
gtk_icon_theme_load_icon(icon_theme, "dummy", ???, 0, NULL);

What should be in place of '???' ?  width? height? MIN(width,height)? 42?


-- 
Tommi Komulainen                                      tkomulai gmail com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]