Hi, if i compile following code i get some warnings:
void on_button_run_clicked( GtkWidget * widget, GtkEntry *entry, gpointer user_data ) { /* Run changes to Pause */ gtk_button_set_label (widget, ( const gchar *) "Pause"); /* calles every 100 ms function draw_satellite */ satellite_is_running = gtk_timeout_add( 100, draw_satellite, (gpointer) NULL ); An the warnings: handlers.c: In function 'on_button_run_clicked': handlers.c:133: warning: passing argument 1 of 'gtk_button_set_label' from incompatible pointer type handlers.c:137: warning: passing argument 2 of 'gtk_timeout_add' from incompatible pointer type I compile with: gcc -c handlers.c -std=c99 `pkg-config --cflags gtk+-2.0 libglade-2.0` I can't imaging why the compiler complains himself? You know why? Tell me! ;-) Daniel. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list