static void ActionStateChanged_cb(IntPtr inst, IntPtr action_name, IntPtr state) { try { GLib.SimpleActionGroup __obj = GLib.Object.GetObject(inst, false) as GLib.SimpleActionGroup; __obj.OnActionStateChanged(GLib.Marshaller.Utf8PtrToString(action_name), new GLib.Variant(state)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }