Web lists-archives.com

Re: Eliminate the warning Allocating size to GtkWindow without calling gtk_widget_get_preferred_size/height

On Thu, Jun 29, 2017 at 1:12 AM, Timm Bäder <mail@xxxxxxxxxxx> wrote:

I know. I never said otherwise. Nobody explicitly passes --enable-debug
to a distr build of gtk+. But if changing gtk+ and waiting for the
change to land in your users' systems isn't an option, I guess nothing

If I understand correctly, he is saying that he is not doing anything that should result in such a warning.  If thats the case, its a bug in GTK and putting the warning behind a more restrictive flag isn't a fix, its just pretending the bug doesn't exist.

With my situation, I know that I am often doing things that would result in this warning, within specific containers or windows.  It would be ideal if I could tell GTK that I have good reasons for this, for these particular widgets and that I don't want to get this warning for them, but its OK to warn me about other similar situations for different widgets.  For example a flag on a container that tells GTK that you are doing custom sizing that may trigger the warning but you know that, and its OK.
gtk-list mailing list