Hi,
I'm trying to connect text entry widget, so I wrote in callback.c:
void on_button1_clicked (GtkButton *button, gpointer user_data)
{
GtkWidget *a;
a = get_widget(GTK_WIDGET(button), "entry1");
gtk_entry_set_text( a, "some text");
}
...and after autoconf and make;
.
.
.
callbacks.c: In function `on_button1_clicked':
callbacks.c:19: warning: passing arg 1 of `gtk_entry_set_text' from incompatible
pointer type
.
.
.
Line 19 is last line (gtk_entry_set_text ...).
How to avoid that? Is it or isn't mistake, Compiled program works fine.
Kreso
+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.