Found I a bug ?
- From: Wagner Adriano <volfgang ig com br>
- To: gtk-app-devel-list gnome org
- Subject: Found I a bug ?
- Date: Wed, 28 May 2003 00:38:17 +0200
I used Server Optimize Linux (SoL) ,kernel 2.4.20,gcc 3.2, gtk+-2.2.1...
The object created in gtk_entry_new don't work when connected that
g_signal_connect_swapped.The linux don't now the Object passed.
But when I connected gtk_button_new_with_label that
g_signal_connect_swapped, he's work !
you can see:
...
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: ok (it's all write ,no problem.)
In the bug list, tell-me : Is not a Bug....write is ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]