strangeness of g_signal_connect
- From: Colossus <colossus 3000 it>
- To: gtk-app-devel-list gnome org
- Subject: strangeness of g_signal_connect
- Date: Mon, 25 Jul 2005 09:18:57 -0700
In my app I have the following:
g_signal_connect ((gpointer) AddFile_button, "clicked",
I have noticed that if the function "on_add_files_activate" is
declared with only one parameter, gpointer data , I never receive the
word dummy. Instead if the same function is declared with two parameters:
void on_add_files_activate ( GtkWidget *useless , gpointer data);
I can successfull print the value "dummy" pointed by data.
Could gtk developers explain this strange behaviour please ?
Cpsed, a Linux OpenGL 3D scene editor
] [Thread Prev