You are not logged in. Please login or register.
Active topics Unanswered topics
Welcome!
Welcome to the TuxArena discussion board! This is a place to discuss TuxArena software and articles.
Search options
Hi,
I'm using Debian 6.02 which installs GTK+ 2.20. Maybe this is important difference...
Edit: The GDK_KEY_xxx defines are valid for GTK+ 2.22 and up. You could implement something like
#ifndef GDK_KEY_space
#define GDK_KEY_space GDK_space
#endif
or
#if ! GTK_CHECK_VERSION (2, 22, 0)
...
#endif
blackbeer
Hello, I have downloaded the source package and tried to compile it with GTK-version 2. There I get 2 errors:
widgets.c:99: error: ‘GDK_KEY_space’ undeclared (first use in this function)
widgets.c:101: error: ‘GDK_KEY_BackSpace’ undeclared (first use in this function)
Changing the names to the GDK_space and GDK_BackSpace solves the problem. The names GDK_KEY_space and GDK_KEY_BackSpace are only valid on GTK-version 3.
best regards and thanx for the prog
blackbeer
Posts found: 2