Signals Connection
- From: agan ufam edu br
- To: gtk-app-devel-list gnome org
- Subject: Signals Connection
- Date: Wed, 27 Oct 2004 13:05:50 -0200 (BRST)
hey all ...
in my gtk application, i'm connecting some signals to a gtk notebook:
gtk_signal_connect (GTK_OBJECT (notebook), "switch-page", GTK_SIGNAL_FUNC
(switch_page_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "title", GTK_SIGNAL_FUNC
(title_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "location", GTK_SIGNAL_FUNC
(url_changed_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "link-message",
GTK_SIGNAL_FUNC (link_message_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "progress_all",
GTK_SIGNAL_FUNC (progress_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "net_state",
GTK_SIGNAL_FUNC (net_state_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "destroy_browser",
GTK_SIGNAL_FUNC (destroy_browser_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "start_load",
GTK_SIGNAL_FUNC (start_load_cb), manaos);
gtk_signal_connect (GTK_OBJECT (active_page), "open_uri",
GTK_SIGNAL_FUNC(manaos_handle_open_uri), manaos);
When I run the application, some messeges are shown in the konsole like that:
(manaos:6857): Gtk-CRITICAL **: file gtkcombo.c: line 1116
(gtk_combo_set_popdown_strings): assertion `strings != NULL' failed
(manaos:6857): GLib-GObject-CRITICAL **: file gsignal.c: line 1745
(g_signal_connect_closure_by_id): assertion `signal_id > 0' failed
(manaos:6857): GLib-GObject-CRITICAL **: file gsignal.c: line 1745
(g_signal_connect_closure_by_id): assertion `signal_id > 0' failed
Then i thought the this signals ("link-message", "location", ...) are
inexistent, but if I comment them, my application don't run correctly ..
Any tips ?! Help me , please !!
Thanks !
Antônio Gomes
Instituto Nokia de Tecnologia
Manaus - Brazil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]