Re: g_queue_find problems



Are you sure that your search key is part of the queue? The issue
might be that the your search key is a copy of the string stored in
the queue and the pointers won't match. If this is the case try using
g_queue_find_custom and wrap strcmp in a simple function. Otherwise
you will have to make sure the pointers match.

Atanas



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