I have a gtk program in which I am calling a gdk function. I am compiling the program using:
gcc `pkg-config --cflags --libs gtk+-2.0 cairo glib-2.0` ...
and I have included
#include <gdk/gdk.h>
it gives me the error:
undefined reference to `gdk_device_ungrab'
Does anyone know what I am doing wrong?