https://bugzilla.novell.com/show_bug.cgi?id=466275 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=466275#c23 --- Comment #23 from Tambet Ingo <tambet@novell.com> 2009-02-03 01:10:28 MST --- Why do you think NetworkManager's signal emission is to blame here? Yes, this used to be a problem in 0.6.x, but I'm pretty sure this is not happening in 0.7. The code has: if (saved_state != new_state) { saved_state = new_state; g_signal_emit (foo, signal, saved_state); } I also tried with a small test program: #include <libnm_glib.h> static void cb (libnm_glib_ctx *ctx, gpointer data) { g_print ("State changed: %d\n", libnm_glib_get_network_state (ctx)); } int main (int argc, char *argv[]) { GMainLoop *loop; libnm_glib_ctx *ctx; g_type_init (); ctx = libnm_glib_init (); libnm_glib_register_callback (ctx, cb, NULL, NULL); loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (loop); return 0; } and it works exactly as I would expect it to work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.