Problem with glade
- From: Uzytkownik <uzytkownik22 gazeta pl>
- To: gtk-app-devel-list gnome org
- Subject: Problem with glade
- Date: Fri, 14 Oct 2005 16:46:54 +0200
#include <glade/glade.h>
void on_wgtelnet_destroy(GtkWidget *widget, gpointer user_data) {
g_print("Dowidzenia");
gtk_main_quit();
}
void on_bok_clicked(GtkWidget *widget, gpointer user_data) {
gtk_main_quit();
}
int main(int argc, char **argv) {
GladeXML *xml;
gtk_init(&argc, &argv);
xml = glade_xml_new("gtelnet.glade", NULL, NULL);
glade_xml_signal_autoconnect(xml);
gtk_main();
}
$ gcc main.c `pkg-config libglade-2.0 --cflags --libs`
$ ./a.out
(a.out:5100): libglade-WARNING **: could not find signal handler
'on_bok_clicked'.
(a.out:5100): libglade-WARNING **: could not find signal handler
'on_wgtelnet_destroy'.
What's wrong?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]