Re: invalid cast from 'GtkButton' to 'GtkEntry'

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

 



I tryed somethig similar too.
The problem is that I need to fix the Part where says :
myApp.c: In function ‘btn_clicked’:
myApp.c:3:36: warning: unused parameter ‘widget’ [-Wunused-parameter]
 static void btn_clicked(GtkWidget *widget, gpointer data)
                                    ^
And your "FIXED" code does Include that.

I need to compile this code with GCC, using the following:
gcc -Wall -Wextra myApp.c -o myApp `pkg-config --cflags --libs gtk+-3.0 `

I can't silence it with (void)widget;, but this is not what I need.



--
View this message in context: http://gtk.10911.n7.nabble.com/invalid-cast-from-GtkButton-to-GtkEntry-tp90800p90811.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list




[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux