GtkIconTheme documentation

On the,
the example code is incorrect:

In function 'GdkPixbuf* {anonymous}::CreateStockIcon(const char*, GtkIconSize)':
error: invalid conversion from 'int' to 'GtkIconLookupFlags' [-fpermissive]
         pixbuf = gtk_icon_theme_load_icon( theme, stockid, size, 0, &error );

Probably bad cut'n'paste?

P.S.: I'm trying to improve wxWidgets, but it looks like I'm finding issues
in GTK+ documentation. ;-)

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