GtkIconTheme documentation



Hi,
On the https://developer.gnome.org/gtk3/stable/GtkIconTheme.html#gtk-icon-theme-load-icon,
the example code is incorrect:

[quote]
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 );
 [/quote]

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]