On 4/21/06, rachit goel <[EMAIL PROTECTED]> wrote: > g_signal_connect ((gpointer)eventt[iter],"button_press_event", > G_CALLBACK (tab_click1), data1);
> void tab_click1(GtkWidget *widget,gchar* data1) You have the type of your callback wrong: http://developer.gnome.org/doc/API/2.0/gtk/GtkWidget.html#GtkWidget-button-press-event Try gboolean user_function(GtkWidget *widget, GdkEventButton *event, gpointer user_data) Also you probably have a memory leak there, though maybe it's not important. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list