Lack of gtk_application_get_window_by_id function despite of documentation



I was trying to compile my application and it appears that one documented function called 'gtk_application_get_window_by_id' ( http://developer.gnome.org/gtk3/stable/GtkApplication.html#gtk-application-get-window-by-id) doesn't exist. I run Debian Sid on my machine and I've installed 'libgtk-3-dev' package, so I don't really see what's wrong. Maybe this output will be useful for you:

dexcret Kuba-Vostro-1540:~/Dokumenty/laeta/src$ gcc `pkg-config --cflags --libs gtk+-3.0` -o laeta *.c
/tmp/ccBinusj.o: In function `open':
gui.c:(.text+0x120): undefined reference to `gtk_application_get_window_by_id'
collect2: error: ld returned 1 exit status
dexcret Kuba-Vostro-1540:~/Dokumenty/laeta/src$

and this:

dexcret Kuba-Vostro-1540:~/Dokumenty/laeta/src$ grep -r gtk_application_get_window_by_id /usr/include/gtk-3.0/gtk/
dexcret Kuba-Vostro-1540:~/Dokumenty/laeta/src$

Can you tell me what's wrong?

Regards,
Jakub Kucharski



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]