Re: Compile time GTK+ 3 version check

2011-04-24 Thread David Nečas
On Sun, Apr 24, 2011 at 11:11:58AM +0900, Tristan Van Berkom wrote: Anyway, with a good VCS you should be able to easily maintain an old GTK+2 branch of your project and easily backport the fixes which apply from your new GTK+3 branch back into the old source base (and avoid the whole #ifdef

Re: Compile time GTK+ 3 version check

2011-04-24 Thread Bernhard Schuster
2011/4/24 David Nečas y...@physics.muni.cz On Sun, Apr 24, 2011 at 11:11:58AM +0900, Tristan Van Berkom wrote: Anyway, with a good VCS you should be able to easily maintain an old GTK+2 branch of your project and easily backport the fixes which apply from your new GTK+3 branch back into

GdkEventKey and GdkEvent not working for me in ekiga

2011-04-24 Thread David Woodfall
I'm trying to patch ekiga to use the Return key to dial. Presently it only accepts mouse clicks. I first tried GdkEventKey and then GdkEvent but neither seem to work. Here's the code: /// #define GDK_Return 0xff0d static gint on_view_event_after (GtkWidget