Re: GtkEntry move_cursor signal
- From: Matthias Mann <matman matman24 org>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkEntry move_cursor signal
- Date: Sun, 26 Oct 2003 21:51:23 +0100
On Sunday October 26 2003 15:10 CEST, Günther Rapp wrote:
gtk_signal_connect (GTK_OBJECT (entry1), "changed",
On Debian Linux 3.0 with gcc 2.95.4 the compiler would
do a warning message while working with code like this!
Note: The object you like to connect is a GtkEntry while
GtkWidget *entry1 in your code is initialized as GtkWidget.
The correct cast for this situation is:
g_signal_connect (GTK_OBJECT (GTK_ENTRY (entry1)), .....
Mathew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]