sending GtkTreeSelection to other function

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

 



how send a GtkTreeSelection *selection, to other function using g_signal_connect ?
Example:


void new_function(GtkTreeSelection **selection);

void main(int argc, char **argv)
{
   ...
   ...
   GtkTreeSelection *selection;
   ...
   ...
   ...
   g_signal_connect(G_OBJECT(button), "clicked", new_function, selection);
   ...
   ...
}

What this wrong in this source code ?

Thanks!

_______________________________________________

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