Hi ,

this error message is returned because this function is not defined in
the gtk 1.2.1 !!

take a look at <http://developer.gnome.org/doc/API/gtk/gtkwindow.html>,
GTK+ reference manual for 1.X series ... you will see that there is no
'gtk_window_get_focus', but another related fuctions :S

If you port your app to GTK 2.X , try
<http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html>

Best Regards

>  The compiler(gtk+1.2.10) gave the following error:
>  
>  [EMAIL PROTECTED] test]# make
>  gcc `gtk-config --cflags`  foc.c -o foc `gtk-config --libs`
>  foc.c: In function `fovu':
>  foc.c:60: warning: assignment makes pointer from integer without a cast
>  /tmp/ccbfegod.o(.text+0x297): In function `fovu':
>  : undefined reference to `gtk_window_get_focus'
>  collect2: ld returned 1 exit status
>  make: *** [foc] Error 1

-- 
Antonio Gomes
E-mail: [EMAIL PROTECTED]
Embedded Linux Lab - 10LE
INdT - Instituto Nokia de Tecnologia (Manaus/Br)
NOKIA's Technology Institute
_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to