some newbie g_signal_connect questions



            
        ***  some newbie g_signal_connect questions  ***
 
 Hi all!
 
 I've seen some difficulties while working in Gtk+ with signals.
 Normally a function looks like this:
 
 void any_function(opt *any_option) {
 
        any_functions();
 
        return; }
 
 but what's about callback functions? They don't need 'return;'.
 Right?
 
 But if i have a function with 'return;' cause regular function
 calls it and also a callback function. Could this make problems
 for an application?
 
 And by the way: a "void" function, does it need this 'return;'?
 Or could i leave it generally?
 
 best regards,
 
 mathew
 



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