You can just move the line static GQuark sQuark_gecko_acc_obj = g_quark_from_static_string("GeckoAccObj"); inside toplevel_event_watcher().
You can just move the line gecko_acc_ obj = g_quark_ from_static_ string( "GeckoAccObj" ); event_watcher( ).
static GQuark sQuark_
inside toplevel_