Re: Signal blocking

2006-01-05 Thread Arne Caspari
Chad Robinson wrote: I'm sure there's a GTK solution, but is there any reason you don't just: static int ignore_signals = 0; cb_func(...) { if (ignore_signals) return; ... } This does not work either. This lets me think: The offending code is called from insid

Re: Signal blocking

2006-01-05 Thread Chad Robinson
Arne Caspari wrote: Hi! I want to block the emission of the "value_changed" signal when I call gtk_range_set_value( ... ) My code so far is roughly: // handler_id = g_signal_connect( GTK_RANGE( widget ) , "value_changed", cb_f