denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] error during building: expected ‘struct GtkComboBox *’ b


From: Federico Bruni
Subject: [Denemo-devel] error during building: expected ‘struct GtkComboBox *’ but argument is o f type ‘struct GtkComboBoxText
Date: Sun, 21 Apr 2013 23:20:06 +0200

Hi

I'm trying to compile Denemo on a new laptop.
I'm getting this error:

staffpropdialog.c: In function ‘set_properties’:
staffpropdialog.c:105:3: warning: passing argument 1 of ‘gtk_combo_box_text_get_active_text’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-3.0/gtk/gtk.h:84:0,
                 from staffpropdialog.c:8:
/usr/include/gtk-3.0/gtk/gtkcomboboxtext.h:73:15: note: expected ‘struct GtkComboBoxText *’ but argument is of type ‘struct GtkComboBox *’
staffpropdialog.c:106:3: warning: passing argument 1 of ‘gtk_combo_box_text_get_active_text’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-3.0/gtk/gtk.h:84:0,
                 from staffpropdialog.c:8:
/usr/include/gtk-3.0/gtk/gtkcomboboxtext.h:73:15: note: expected ‘struct GtkComboBoxText *’ but argument is of type ‘struct GtkComboBox *’
staffpropdialog.c: In function ‘staff_properties_change’:
staffpropdialog.c:297:3: warning: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:298:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:300:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:301:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:302:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:306:3: warning: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:307:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:307:3: error: ‘i’ undeclared (first use in this function)
staffpropdialog.c:307:3: note: each undeclared identifier is reported only once for each function it appears in
staffpropdialog.c:307:3: warning: passing argument 1 of ‘gtk_combo_box_set_active’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29:0,
                 from /usr/include/gtk-3.0/gtk/gtk.h:45,
                 from staffpropdialog.c:8:
/usr/include/gtk-3.0/gtk/gtkcombobox.h:100:15: note: expected ‘struct GtkComboBox *’ but argument is of type ‘struct GtkComboBoxText *’
staffpropdialog.c:308:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:310:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:312:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
staffpropdialog.c:313:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
make[2]: *** [staffpropdialog.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/staffops.Tpo .deps/staffops.Po
mv -f .deps/view.Tpo .deps/view.Po
make[2]: Leaving directory `/home/fede/src/denemo/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fede/src/denemo'
make: *** [all] Error 2


I'm on Debian sid.
These packages might be relevant:

libgtk-3-dev
Version: 3.4.2-6

libgtk2.0-dev
Version: 2.24.10-2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]