Re: g_object_new() and g++
- From: Adrian Immler <a immler 12mm de>
- To: gtk-app-devel-list gnome org
- Subject: Re: g_object_new() and g++
- Date: Sat, 25 Jan 2003 19:46:00 +0100
i'm sorry for today but one last question:
i have problems with the g_signal_connect() again. the following error/warning message appears:
In Constructor `browser::browser()`:
no matches converting function `query` to type `void(*)()`
candidates are: void browser::query(void*, void*)
i get the same error when using the other g_signal_connect() line commented out below.
whats wrong here ?
class browser{
public:
browser();
void query( gpointer nothing, gpointer tse );
//some more
};
void browser::query( gpointer nothing, gpointer tse ){
//do something
}
browser::browser(){
//do something else
g_signal_connect(GTK_WIDGET(submit), "clicked", G_CALLBACK(this->browser::query), NULL );
// g_signal_connect(GTK_WIDGET(submit), "clicked", G_CALLBACK(query), NULL );
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]