Web lists-archives.com

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. ;-)
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list