GtkIconTheme documentation
- From: Igor Korot <ikorot01 gmail com>
- To: "gtk-list gnome org" <gtk-list gnome org>
- Subject: GtkIconTheme documentation
- Date: Thu, 20 Aug 2015 00:09:18 -0400
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]