Re: Providing gtk_main() with asynchronous data



On Mon, Aug 01, 2005 at 05:36:47PM -0400, Tristan Van Berkom wrote:
In gereral this is how we deal with this problem:

typedef struct {
    GSource  source;
    gpointer my;
    gint     extended;
    gchar   *data;
} GMySource;

Thanks, works great.  My C skills are weak... should have caught that
from the g_source_new() docs.

-- 
Pat Mahoney     <pat polycrystal org>



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