Re: GtkEntry move_cursor signal



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]