On Fri, 2007-04-06 at 20:23 +0530, Harishkumar V wrote: > Hi guys, > > help me to solve this segmentation fault .... > > I am having a gtk application running on top of icewm window manager & > X. > > During running like this, i have a cursor for my gtk applications. > > If i remove icewm window manager & run my gtk application on top of > X , it running perfectly but there is no cursor, > its getting a pointer with "x" as my cursor. So i decided to use > set_cursor to set my mouse for my gtk application. > > Now I want to draw my cursor for my gtk window application. > > I used gdk_cursor_new & gdk_window_set_cursor to set my cursor. > > During running, it getting segmentation fault. > > My code is follows, > [snip] > > > Guys help me ... > > harish
I haven't really looked at that code, but try getting a backtrace first so you know where the segfault is. Do you know how to use GDB? _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list