g_signal_connect_swapped make mistake !
- From: Wagner Adriano <volfgang ig com br>
- To: gtk-app-devel-list gnome org
- Subject: g_signal_connect_swapped make mistake !
- Date: Sun, 25 May 2003 22:36:39 +0200
let it go !
// the big program
...
entrada01 = gtk_entry_new ();
g_signal_connect_swapped (G_OBJECT (entrada01),
"activate",
G_CALLBACK (gtk_widget_grab_focus),
G_OBJECT(combo_entry3));
...
the result is :"Gtk-CRITICAL **: file gtkwidget.c :line 3400
(gtk_widget_grab_focus): assertion 'GTK_IS_WIDGET (widget)' failed
but in the another hand, when :
...
bot3=gtk_button_new_with_label("just go !");
g_signal_connect_swapped (G_OBJECT (bot3),
"activate",
G_CALLBACK (gtk_widget_grab_focus),
G_OBJECT(combo_entry3));
...
the result is: it's all write ,no problem.
And now the big question:"what is happing here ?"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]