On Thu, 2012-11-15 at 14:28 -0800, Vaibhav Nagarnaik wrote: > + else > + cpu_clear(cpu_helper->cpu_mask, cpu); > + > + cpu_helper->allcpus = cpu_allset(cpu_helper->cpu_mask, > + cpu_helper->cpus); > + /* > + * Deactivate sending 'toggled' signal for "All CPUs" > + * while we adjust its state > + */ > + > g_signal_handlers_block_by_func(GTK_TOGGLE_BUTTON(cpu_helper->buttons[cpu_helper->cpus]), > + G_CALLBACK (cpu_toggle), > + (gpointer) cpu_helper);
Kind of hacky, but it works. Applied, Thanks! -- Steve > > > gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cpu_helper->buttons[cpu_helper->cpus]), > - FALSE); > + cpu_helper->allcpus); > + > + > g_signal_handlers_unblock_by_func(GTK_TOGGLE_BUTTON(cpu_helper->buttons[cpu_helper->cpus]), > + G_CALLBACK (cpu_toggle), > + (gpointer) cpu_helper); > } > > /** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/