Warnings after using gtk_entry_set_visibility



Hi,

    Using gtk+ 2.8.9 (glib 2.8.5), I've discovered that if I call
gtk_entry_set_visibility(entry, FALSE) and later
gtk_entry_set_visibility(entry, TRUE) to make the contents of an entry
visible again, I get this warning for each key pressed in the entry:

(entrytest:7431): Gdk-WARNING **: gdkdrawable-x11.c:904 drawable is not
a pixmap or window

    Altough everything work fine.

    I've attached a simple test case that shows the problem. Pressing
the button hides than displays the text, afterwards keys pressed cause
that warning.

   I'm running Debian on a amd64 machine, in case that makes any
difference. This problem appeared after I upgraded to gtk+ 2.8.X, it did
not exist in version 2.6.X (at least in the one I used).

-- 
The test of intelligent tinkering is to save all the parts.
                -- Aldo Leopold

Eduardo M KALINOWSKI
ekalin bol com br
http://move.to/hpkb





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]