Hi. I've defined _GTK2 in main/gui_gtk/main_gtk.c, but when compiling I get the following error:
What is wrong? And can the plugins be easily forced to use gtk2? Greets.Code:gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -march=pentium4 -Wall -pipe -c -o main/gui_gtk/main_gtk.o main/gui_gtk/main_gtk.c `gtk-config --cflags` main/gui_gtk/main_gtk.c: In function `create_toolBar': main/gui_gtk/main_gtk.c:1464: error: too few arguments to function `gtk_toolbar_new' main/gui_gtk/main_gtk.c:1465: warning: passing arg 1 of `gtk_toolbar_set_orientation' from incompatible pointer type main/gui_gtk/main_gtk.c:1466: warning: passing arg 1 of `gtk_toolbar_set_style'from incompatible pointer type main/gui_gtk/main_gtk.c:1467: warning: passing arg 1 of `gtk_toolbar_set_tooltips' from incompatible pointer type make: *** [main/gui_gtk/main_gtk.o] Error 1 [jsikorski@DOMOWY emu64]$


Reply With Quote
