question from a non-programmer



I was compiling glib/gtk from cvs today and after compiling/installing
glib fine I got an error from gtk about an undefined reference to
g_hook_list_marshal_check

Checking in glib.h I saw

void     g_hook_list_invoke             (GHookList             
*hook_list,
                                         gboolean               
may_recurse);
/* invoke all valid hooks with the (*GHookCheckFunc) signature,
 * and destroy the hook if FALSE is returned.
 */
void     g_hook_list_invoke_check       (GHookList             
*hook_list,
                                         gboolean               
may_recurse);
/* invoke a marshaller on all valid hooks.
 */
void     g_hook_list_marshal            (GHookList             
*hook_list,
                                         gboolean               
may_recurse,
                                         GHookMarshaller        
marshaller,  
                                         gpointer                data);


So in the true spirit of a non-programmer I decided to start messing
with stuff that I'd probably break


I added in there a 

void     g_hook_list_marshal_check       (GHookList             
*hook_list,
                                         gboolean               
may_recurse,
                                         GHookMarshaller        
marshaller,  
                                         gpointer                data);


then I restarted the gtk compile and it got past the point that it
errored in before.  

My Question:  What did I break?  Should I Leave it like this or do
something?

-Brian



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