Re: g_signal_connect question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



deepspace wrote:

g_signal_connect(GTK_OBJECT(button1),"clicked",GTK_SIGNAL_FUNC(roll),p);

Hello, you should use g_signal_connect_swapped() instead of g_signal_connect() for your
void roll(struct args * p);
Also consider to use *G_OBJECT* and *G_CALLBACK* macroces instead of
*GTK_OBJECT* and *GTK_SIGNAL_FUNC* ;)


   Olexiy

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux