Events on a GDK window

2006-08-11 Thread Fabio Rotondo
Hi, I am trying to get events from the X root window. I have obtained the root window with: gdk_get_default_root_window () (which returns a GDK window) but now, I am trying to set events with g_signal_connect () but every type of event I am using gives me the following error: (:13228): GLib-

Gnome 2.12 "Desktop Menu" problems

2005-10-12 Thread Fabio Rotondo
Hi, I have just installed Gnome 2.12 and in the "Desktop Menu" (the menu which appears when you right click on an empty area on the desktop) the option "Open Terminal" has disappeared. Is there any way I can have it back? Thanks, Fabio ___

Re: int problems on amd64

2005-03-29 Thread Fabio Rotondo
Roland Smith wrote: > I'm using GTK+ on FreeBSD 5.3 amd64 without problems. Any program > casting int to void* is b0rken. you are perfectly right, but suppose you have to write a qsort callback: void qsort(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *)); suppose

int problems on amd64

2005-03-29 Thread Fabio Rotondo
Hi, I have just switched to a brand new AMD 64, but I am experiencing some problems in compiling my software. Basically, gcc complains that my "int" is smaller than "void *" and that the cast is dangerous. I know that int is just 32bit while "void *" on AMD64 is 64bit but this is quite a problem :