getting seg fault in

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

 



hi

  i am getting seg fault on this line when i try to activate a menu item

      XSetWindowBackgroundPixmap (GDK_DRAWABLE_XDISPLAY
(window),GDK_DRAWABLE_XID (window), None);

i know i have done some mistake in writing application, but couldn't figure
out why is this happening
can some one could please let me know what checks i should perform in order
to find a solution

the menu is a popup menu created using gtk_popup_menu() api. and i am
emitting "activate-current" when an item is clicked in menu. but it ends up
in a seg fault at the same above.

i have checked the values for GDK_DRAWABLE_XDISPLAY
(window),GDK_DRAWABLE_XID (window), they are not NULL.


kindly help
bye
-- 
View this message in context: http://www.nabble.com/getting-seg-fault-in-tp15820443p15820443.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux