drawable is not a pixmap or window after upgrade to 2.8.9
- From: Eduardo M KALINOWSKI <ekalin bol com br>
- To: gtk-app-devel-list gnome org
- Subject: drawable is not a pixmap or window after upgrade to 2.8.9
- Date: Mon, 02 Jan 2006 16:46:56 -0200
I recently upgraded from GTK version 2.6.something to 2.8.9 in my
Debian system. Now, when running an application I developed myself, I
get a bunch of errors like this:
Gdk-WARNING **: gdkdrawable-x11.c:904 drawable is not a pixmap or window
They happen when I press any key in a GtkEntry. The program works
normally, though.
I've generated a stack trace from the call to g_log:
Breakpoint 2, 0x00002aaaaca0d930 in g_log () from /usr/lib/libglib-2.0.so.0
(gdb) where
#0 0x00002aaaaca0d930 in g_log () from /usr/lib/libglib-2.0.so.0
#1 0x00002aaaab49f224 in gdk_x11_drawable_get_xid ()
from /usr/lib/libgdk-x11-2.0.so.0
#2 0x00002aaaaed7b0d2 in gtk_im_context_xim_new ()
from /usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so
#3 0x00002aaaaada70ec in gtk_entry_set_visibility ()
from /usr/lib/libgtk-x11-2.0.so.0
#4 0x00002aaaaae0c030 in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#5 0x00002aaaac6a0480 in g_closure_invoke ()
from /usr/lib/libgobject-2.0.so.0
#6 0x00002aaaac6af1cd in g_signal_stop_emission ()
from /usr/lib/libgobject-2.0.so.0
#7 0x00002aaaac6b0237 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#8 0x00002aaaac6b08b3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9 0x00002aaaaaeeaa85 in gtk_widget_activate ()
from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00002aaaaaef9208 in gtk_window_propagate_key_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00002aaaaaefd61b in gtk_window_activate_key ()
from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00002aaaaae0c030 in _gtk_marshal_BOOLEAN__BOXED ()
from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002aaaac6a0480 in g_closure_invoke ()
from /usr/lib/libgobject-2.0.so.0
#14 0x00002aaaac6af1cd in g_signal_stop_emission ()
from /usr/lib/libgobject-2.0.so.0
#15 0x00002aaaac6b0237 in g_signal_emit_valist ()
from /usr/lib/libgobject-2.0.so.0
#16 0x00002aaaac6b08b3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x00002aaaaaeeaa85 in gtk_widget_activate ()
from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00002aaaaae0a545 in gtk_propagate_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00002aaaaae0a8b7 in gtk_main_do_event ()
from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00002aaaab4a281c in _gdk_events_queue ()
from /usr/lib/libgdk-x11-2.0.so.0
#21 0x00002aaaaca044dd in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#22 0x00002aaaaca07685 in g_main_context_check ()
from /usr/lib/libglib-2.0.so.0
#23 0x00002aaaaca0794a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#24 0x00002aaaaae09ca2 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00000000004135a4 in main (argc=1, argv=0x7fffff8990b8,
env=0x7fffff8990c8) at main.c:211
I'm not sure that's useful, but I've found out that the error only
starts to appear after I call gtk_entry_set_visibility to hide the text
in the Entry, and later call it again to make it visible once more. If I
remove the calls to gtk_entry_set_visibility, the error never appears.
I'm using GTK+ version 2.8.9, glib version 2.8.4 and cairo 1.0.2.
--
Why are you so hard to ignore?
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]