https://developer.gnome.org/gtk2/2.24/GtkComboBox.html
I am not aware of the changes between 2.0 (which the tutorial targets)
and 2.24, but you should try to replace it with the API above. Not sure
though, I educated guess needs more information (i.e. your includes,
sourcecode - preferably where the error occures +- n lines)
/Bernhard
On Thu, Jun 27, 2013 at 3:46 PM, Rui Pedro Caldeira
<rpcalde...@outlook.com> wrote:
Hello guys, I'm new to GTK+ and I've run into a problem when creating
a
ComboBox.
I'm using GTK+ 2.24.18 and following the tutorial from this page:
https://developer.gnome.org/gtk-tutorial/2.24/x1063.html
But when I try to compile the code, it seems that none of the
functions I
call exists in the gtk.h file
Output:
xxx.c: In function ‘XXX’:
xxx.c:63:2: warning: implicit declaration of function
‘gtk_combo_new’
[-Wimplicit-function-declaration]
xxx.c:63:8: warning: assignment makes pointer from integer without a
cast
[enabled by default]
xxx.c:65:2: warning: implicit declaration of function ‘GTK_COMBO’
[-Wimplicit-function-declaration]
xxx.c:65:101: error: invalid type argument of ‘->’ (have
‘int’)
xxx.c:111:3: warning: statement with no effect [-Wunused-value]
xxx.c:116:3: warning: format not a string literal and no format
arguments
[-Wformat-security]
xxx.c:123:2: warning: implicit declaration of function
‘gtk_combo_set_popdown_strings’ [-Wimplicit-function-declaration]
xxx.c:127:2: warning: implicit declaration of function
‘gtk_combo_set_use_arrows’ [-Wimplicit-function-declaration]
xxx.c:54:6: warning: unused variable ‘status’ [-Wunused-variable]
If you could help me I would be thankful
Best regards,
Rui
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list