Re: Why the code is not compatible?
- From: Jean Brefort <jean brefort normalesup org>
- To: Stefan Salewski <mail ssalewski de>, Igor Korot <ikorot01 gmail com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: Why the code is not compatible?
- Date: Sun, 16 Aug 2015 14:59:50 +0200
GtkIconSize is an enum. Acceptable values are 1 to 6, 6 being
GTK_ICON_SIZE_DIALOG. (0 means invalid). 48 is undefined.
Le dimanche 16 août 2015 à 14:24 +0200, Stefan Salewski a écrit :
On Sat, 2015-08-15 at 19:16 -0400, Igor Korot wrote:
However, if
I explicitely put 48 instead of GTK_ICON_SIZE_DIALOG in the call
to
gtk_icon_theme_load_icon() or
use gtk_image_new_from_icon_name() instead of the whole block the
icon
appears properly sized.
https://developer.gnome.org/gtk3/3.16/gtk3-Themeable-Stock
-Images.html#GtkIconSize
I think GtkIconSize is an enum, so using value 48 should be wrong.
For such kind of problems it is really useful to provide a complete
minimal example, preferable in plain C. I can not guess what your
problem may be, maybe the real experts can. But unfortunately we have
not many experts still on this list, and they may be busy.
_______________________________________________
gtk-list mailing list
gtk-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]